1 #ifndef SMOMPI_Operator_H
2 #define SMOMPI_Operator_H
6 #include "SM_Operator.h"
50 inline static CORE_UniquePointer<SMOMPI_Operator>
New(CORE_UniquePointer<SM_SliceOperator> sliceOperator) {
52 p->setSliceOperator(std::move(sliceOperator));
123 const tBoolean& alpha,
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class describes an OpenMP/MPI implementation of operator This package defined the following abst...
Definition: SMOMPI_Operator.h:19
virtual tReal computeEnergy(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const SM_RealField &S) const final
compute the energy by virtual method
Definition: SMOMPI_Operator.cpp:48
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SMOMPI_Operator.h:78
SMOMPI_Operator(void)
create a network class
Definition: SMOMPI_Operator.h:30
virtual ~SMOMPI_Operator(void)
destroy
Definition: SMOMPI_Operator.h:37
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: SMOMPI_Operator.h:89
virtual CORE_UniquePointer< SM_Operator > NewInstance() const
create a new instance of this
Definition: SMOMPI_Operator.h:58
virtual void computeMagneticField(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const SM_RealField &S, const tBoolean &alpha, SM_RealField &H) const final
compute the magnetic field by virtual method
Definition: SMOMPI_Operator.cpp:12
static CORE_UniquePointer< SMOMPI_Operator > New(CORE_UniquePointer< SM_SliceOperator > sliceOperator)
build a new instance of the operator
Definition: SMOMPI_Operator.h:50
This class describes a materials defined by state attributes:
Definition: SM_Material.h:61
This class is describes a network composed by.
Definition: SM_Network.h:66
This class is describes an operator.
Definition: SM_Operator.h:43
SM_SliceOperator & getSliceOperator()
get the slice operator for writing
Definition: SM_Operator.h:127