1 #ifndef EMM_CondensedMassMatrix_H 2 #define EMM_CondensedMassMatrix_H 73 inline static SP::EMM_CondensedMassMatrix
New() {
133 product(n,incX,beta,x,alpha,y);
168 const tReal* y)
const;
183 const tReal* y)
const;
232 "EMM_CondensedMassMatrix::product(beta,X,alpha,Y)",
243 "EMM_CondensedMassMatrix::product(beta,X,alpha,Y)",
252 product(nX,dim,beta,&x[0],alpha,&y[0]);
286 "EMM_CondensedMassMatrix::product(beta,X,Y)",
295 product(nX,dim,alpha,&x[0],0.,&y[0]);
312 "EMM_CondensedMassMatrix::product(X,Y)",
322 product(nX,dim,1.,&x[0],0.,&y[0]);
virtual tUIndex getRowsNumber() const
get the rows number of the matrix
Definition: EMM_CanonicalMassMatrix.h:87
This class describes a grid3d mesh.
Definition: EMM_Grid3D.h:48
virtual void product(const MATH_Vector &x, MATH_Vector &y) const
b=T.x where T is this
Definition: EMM_CondensedMassMatrix.h:303
SP_OBJECT(EMM_CondensedMassMatrix)
static const tDimension Y
Definition: EMM_Object.h:34
virtual tBoolean solve(MATH_Solver &solver, EMM_RealField &B)
solve AX=B thanks to the solver
Definition: EMM_CondensedMassMatrix.cpp:571
static const tDimension X
Definition: EMM_Object.h:33
static SP::EMM_CondensedMassMatrix New()
create a mass matrix
Definition: EMM_CondensedMassMatrix.h:73
virtual tString toString() const
return the string representatio of the class
Definition: EMM_CanonicalMassMatrix.cpp:967
SP::MATH_ArrayVector mDiagonal
Definition: EMM_CondensedMassMatrix.h:40
#define tUCInt
Definition: types.h:21
#define tBoolean
Definition: types.h:139
virtual void product(const tUIndex &n, const tReal &beta, const tUCInt &incX, const tReal *x, const tReal &alpha, const tUCInt &incY, tReal *y) const
y:=alpha.y+beta. T . x where T is this
Definition: EMM_CondensedMassMatrix.h:127
virtual ~EMM_CondensedMassMatrix(void)
destroy
Definition: EMM_CondensedMassMatrix.cpp:26
tString toString() const
return the string associated to the integer
Definition: CORE_Integer.h:106
#define tDimension
Definition: EMM_Types.h:10
DEFINE_SVPTR(EMM_CondensedMassMatrix)
tBoolean mIsSolverExplicit
Definition: EMM_CondensedMassMatrix.h:34
virtual void init(const tReal &alpha)
init the value to alpha
Definition: MATH_Vector.cpp:12
virtual tULLInt getMemorySize() const
return the memory size in byte
Definition: EMM_CanonicalMassMatrix.h:105
this class describes the exceptions raised for CORE package
Definition: CORE_Exception.h:15
virtual tReal dot(const MATH_Vector &x) const
s=x^t.T where T is this
Definition: MATH_Vector.cpp:480
virtual tULLInt getMemorySize() const
return the memory size in byte
Definition: EMM_CondensedMassMatrix.h:105
This class describes a masked vector.
Definition: MATH_Vector.h:16
EMM_CondensedMassMatrix(void)
create
Definition: EMM_CondensedMassMatrix.cpp:11
EMM_Array< tLimitCondition > EMM_LimitConditionArray
Definition: EMM_Array.h:279
virtual tUIndex getSize() const =0
get the utile size of the vector
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
virtual void setSize(const tUIndex &n)=0
set the size of the vector
This class describes a solver of Ax=b.
Definition: MATH_Solver.h:18
virtual tString toString() const
return the string representatio of the class
Definition: EMM_CondensedMassMatrix.h:349
#define tString
Definition: types.h:135
virtual SP::MATH_Matrix NewInstance() const
return a share pointer to a new instance of this
Definition: EMM_CondensedMassMatrix.h:66
void setIsSolverExplicit(const tBoolean &b)
set if the solver used is a explicit
Definition: EMM_CondensedMassMatrix.h:87
virtual void discretize(const EMM_Grid3D &mesh, SPC::EMM_LimitConditionArray lc)
discretize the matrix
Definition: EMM_CondensedMassMatrix.cpp:33
This class describes the mass matrix where is the P1 function with is 1 on the point i and 0 otherw...
Definition: EMM_CanonicalMassMatrix.h:24
virtual tUIndex getColumnsNumber() const
get the columns number of the matrix
Definition: EMM_CanonicalMassMatrix.h:93
virtual void product(const tReal &beta, const MATH_Vector &x, const tReal &alpha, MATH_Vector &y) const
y:=alpha.y+beta. T . x where T is this
Definition: EMM_CondensedMassMatrix.h:214
This class describes the condensed mass matrix where is the P1 function with is 1 on the point i an...
Definition: EMM_CondensedMassMatrix.h:22
tBoolean mIsCondensedSymmetricDot
Definition: EMM_CondensedMassMatrix.h:37
#define tULLInt
Definition: types.h:45
This class describes a real field.
Definition: EMM_RealField.h:21
tReal symmetricDot(const tUIndex &n, const tDimension &dim, const tReal *x, const tReal *y) const
Definition: EMM_CondensedMassMatrix.cpp:277
#define tReal
Definition: types.h:118
DEFINE_SPTR(EMM_CondensedMassMatrix)
virtual void product(const tReal &alpha, const MATH_Vector &x, MATH_Vector &y) const
Y=alpha.T.x where T is this.
Definition: EMM_CondensedMassMatrix.h:261
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141