1 #ifndef EMM_MultiScaleCDGrid_H 2 #define EMM_MultiScaleCDGrid_H 154 inline static SP::EMM_MultiScaleCDGrid
New() {
virtual void computeZonalDemagnetizedFieldAndNextLevelMagnetizationField(const tUInteger &twoPowerL, const tUIndex &nCells, const tDimension &dim, const tReal *Ml, tReal *Mz, tReal *Mlp1, tReal *H0) const
compute the zonal demagnetized field added to demagnetized field at level 0 and compute the magnetiza...
Definition: EMM_MultiScaleCDGrid.h:412
static SP::EMM_MultiScaleCDGrid New()
build a new instance of class
Definition: EMM_MultiScaleCDGrid.h:154
virtual void initialize(const tDimension &dim, const tUInteger &Nx, const tUInteger &Ny, const tUInteger &Nz, const tBoolean &Px, const tBoolean &Py, const tBoolean &Pz, const tUInteger &l)
set the discretization
Definition: EMM_MultiScaleCDGrid.cpp:24
This class describes the building of fields on multiscale grid initialized by the initialize() method...
Definition: EMM_MultiScaleGrid.h:62
#define tUInteger
Definition: types.h:91
void computeMagnetizationFieldAtNextLevel(const tUIndex &nCells, const tDimension &dim, const tReal *Ml, tReal *Mlp1) const
compute the magntization field at level l+1 for field at level l
Definition: EMM_MultiScaleCDGrid.cpp:640
tBoolean resetValuesWithinCenteredZone(const tUIndex &nCells, const tDimension &dim, tReal *Mz) const
Definition: EMM_MultiScaleCDGrid.cpp:435
virtual void computeZonalCenteredDemagnetizedFieldFromLevel(const tUInteger &twoPowerL, const tUIndex &nCells, const tDimension &dim, tReal *Ml, tReal *Mz, tReal *H0) const
compute the centered demagnetized field of level l outside zone anad add it to demagnetized field at ...
Definition: EMM_MultiScaleCDGrid.h:435
SP_OBJECT(EMM_MultiScaleCDGrid)
void computeDemagnetizedExcitationFieldFromLevel(const tUInteger &twoPowerL, const tUIndex &nCells, const tDimension &dim, tReal *Ml, tReal *H0) const
compute the magnetic exitation of the grid at level l and add it to the magnetic excitation field of ...
Definition: EMM_MultiScaleCDGrid.cpp:658
#define tBoolean
Definition: types.h:139
void meanValuesFromFineToCoarseGrid(const tUIndex &nCells, const tDimension &dim, const tReal *Mf, tReal *Ml) const
compute the field in a corse field from its fine grid.
Definition: EMM_MultiScaleCDGrid.cpp:39
void completeValuesOutsideFineGridByPeriodicity(const tUIndex &nCells, const tDimension &dim, tReal *Ml) const
complete the values of the field in the coarse grid is set from its values in its included fine grid ...
Definition: EMM_MultiScaleCDGrid.h:286
#define tDimension
Definition: EMM_Types.h:10
#define tUIndex
Definition: types.h:126
EMM_MultiScaleCDGrid(void)
create
Definition: EMM_MultiScaleCDGrid.cpp:17
This class describes the building of fields on multiscale centered dioptic grids initialized by the i...
Definition: EMM_MultiScaleCDGrid.h:127
void addValuesFromCoarseGridToFinestGrid(const tUIndex &nCells, const tDimension &dim, const tUInteger &twoPowerL, const tReal *Ml, tReal *Mf) const
add the value of the field defined in coarse grid bigger than its finest grid into the field defined...
Definition: EMM_MultiScaleCDGrid.cpp:478
void completeValuesOutsideFineGridByPeriodicityByExclusion(const tUIndex &nCells, const tDimension &dim, tReal *Ml) const
complete the values of the field in the coarse grid is set from its values in its included fine grid ...
Definition: EMM_MultiScaleCDGrid.cpp:289
virtual ~EMM_MultiScaleCDGrid(void)
destroy
Definition: EMM_MultiScaleCDGrid.cpp:20
DEFINE_SPTR(EMM_MultiScaleCDGrid)
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141