1 #ifndef SM_MacroCellsContinuousDemagnetizedOperator_H
2 #define SM_MacroCellsContinuousDemagnetizedOperator_H
5 #include "SM_MacroCellsDemagnetizedOperator.h"
6 #include "SM_LinearSliceOperator.h"
105 return CORE_UniquePointer<SelfClass>(
new SelfClass(arguments),
111 inline static CORE_UniquePointer<SelfClass>
New() {
113 return New(arguments);
121 virtual CORE_UniquePointer<SM_SliceOperator>
NewInstance()
const override {
122 CORE_UniquePointer<SelfClass> op=
New();
126 return std::move(op);
144 std::stringstream ret;
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class is an list of options.
Definition: CORE_OptionsList.h:36
This class is describes a linear operator interface in a slice of particles of a network.
Definition: SM_LinearSliceOperator.h:17
This class describes a demagnetized operator on macro cells network.
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:20
static CORE_UniquePointer< SelfClass > New()
build a new instance of the operator
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:111
static CORE_UniquePointer< SelfClass > New(const CORE_OptionsList &arguments)
build a new instance of the operator
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:104
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:93
virtual ~SM_MacroCellsContinuousDemagnetizedOperator(void)
destroy
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:59
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:81
SM_MacroCellsContinuousDemagnetizedOperator(const CORE_OptionsList &arguments)
create a network class
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:53
virtual CORE_UniquePointer< SM_SliceOperator > NewInstance() const override
create a New instance of this
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:121
virtual tString toString() const final
return string representaton of the operator
Definition: SM_MacroCellsContinuousDemagnetizedOperator.h:143
This class is describes a demagnetized operator.
Definition: SM_MacroCellsDemagnetizedOperator.h:46
SM_MacroCellsMagnetizationField & getMacroCellsMagnetizationField()
get the macro cells Magnetization field
Definition: SM_MacroCellsDemagnetizedOperator.h:155
SM_MacroCellsDemagnetizedField & getMacroCellsDemagnetizedField()
get the macro cells demagnetized field
Definition: SM_MacroCellsDemagnetizedOperator.h:172
SM_MacroCellsNetwork & getMacroCellsNetwork()
get the macro cell network
Definition: SM_MacroCellsDemagnetizedOperator.h:138
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_MacroCellsDemagnetizedOperator.h:117
virtual tString toString() const override
return string representaton of the operator
Definition: SM_MacroCellsDemagnetizedOperator.h:276