1 #ifndef EMM_ElementaryDemagnetizedMatrix_H 2 #define EMM_ElementaryDemagnetizedMatrix_H 129 inline static SP::EMM_ElementaryDemagnetizedMatrix
New() {
141 mIntegrator=integrator;
142 mIntegrator->setBounds(0,1,0,1,0,1);
160 return compute(row,col,d[0],d[1],d[2]);
tReal compute(const tUSInt &row, const tUSInt &col, const tIndex d[])
compute the elementary demagnetized matrix at row & col
Definition: EMM_ElementaryDemagnetizedMatrix.h:159
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
This class create the elementary demagnetized matrix :
Definition: EMM_ElementaryDemagnetizedMatrix.h:87
static const tReal UNIT_SPHERIC_AREA
Definition: EMM_ElementaryDemagnetizedMatrix.h:96
void setMeshSize(const tReal &hx, const tReal &hy, const tReal &hz)
set the mesh size
Definition: EMM_ElementaryDemagnetizedMatrix.cpp:49
DEFINE_SPTR(EMM_ElementaryDemagnetizedMatrix)
#define tUSInt
Definition: types.h:28
static SP::EMM_ElementaryDemagnetizedMatrix New()
create a shared pointer class of this
Definition: EMM_ElementaryDemagnetizedMatrix.h:129
virtual ~EMM_ElementaryDemagnetizedMatrix(void)
destroy the class
Definition: EMM_ElementaryDemagnetizedMatrix.cpp:45
#define tIndex
Definition: types.h:129
SP_OBJECT(EMM_ElementaryDemagnetizedMatrix)
void setIntegrator(SP::MATH_Integration integrator)
set the integrator
Definition: EMM_ElementaryDemagnetizedMatrix.h:140
EMM_ElementaryDemagnetizedMatrix(void)
create the class
Definition: EMM_ElementaryDemagnetizedMatrix.cpp:16
SP::MATH_Integration mIntegrator
Definition: EMM_ElementaryDemagnetizedMatrix.h:100
#define tReal
Definition: types.h:118
SV::EMM_Kd mFunctions
Definition: EMM_ElementaryDemagnetizedMatrix.h:103
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141