stores the information of a 2D CST system matrix More...
#include <SystemCST2D.h>
Public Member Functions | |
TSystemCST2D (TFESpace2D *stress_fespace, TFEVectFunct2D *Stress, int tensortype, int disctype, int solver, TFESpace2D *Velocity_FeSpace, TFESpace2D *Pressure_FeSpace, TFESpace2D *Deformation_FeSpace=NULL, TFEVectFunct2D *Velocity=NULL) | |
source file for TSystemCST2D More... | |
~TSystemCST2D () | |
void | Init (CoeffFct2D *lincoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *S1BoundValue, BoundValueFunct2D *S2BoundValue, BoundValueFunct2D *S3BoundValue, TAuxParam2D *aux, TAuxParam2D *auxerror) |
void | Assemble (double *sol, double *rhs) |
void | Solve (double *sol, double *rhs) |
void | MeasureErrors (DoubleFunct2D *ExactS1, DoubleFunct2D *ExactS2, DoubleFunct2D *ExactS3, double *s_error) |
Protected Attributes | |
int | N_S |
int | N_Active |
int | N_DirichletDof |
TFESpace2D * | FeSpace [5] |
TFEFunction2D * | FeFct [3] |
TFEFunction2D * | u1 |
TFEFunction2D * | u2 |
int | Disctype |
int | SOLVER |
int | Tensortype |
int | N_Matrices |
CoeffFct2D * | LinCoeffs [1] |
TSquareStructure2D * | sqstructure |
TSquareMatrix2D * | SqmatrixS11 |
TSquareMatrix2D * | SqmatrixS12 |
TSquareMatrix2D * | SqmatrixS21 |
TSquareMatrix2D * | SqmatrixS22 |
TSquareMatrix2D * | SqmatrixS23 |
TSquareMatrix2D * | SqmatrixS32 |
TSquareMatrix2D * | SqmatrixS33 |
TSquareMatrix2D * | SQMATRICES [8] |
TSquareMatrix ** | sqmatrices |
TAuxParam2D * | NSEaux |
TAuxParam2D * | NSEaux_error |
BoundCondFunct2D * | BoundaryConditions [3] |
BoundValueFunct2D * | BoundaryValues [3] |
TDiscreteForm2D * | DiscreteFormARhs |
stores the information of a 2D CST system matrix
class for 2D CST system matrix
TSystemCST2D::TSystemCST2D | ( | TFESpace2D * | stress_fespace, |
TFEVectFunct2D * | Stress, | ||
int | tensortype, | ||
int | disctype, | ||
int | solver, | ||
TFESpace2D * | Velocity_FeSpace, | ||
TFESpace2D * | Pressure_FeSpace, | ||
TFESpace2D * | Deformation_FeSpace = NULL , |
||
TFEVectFunct2D * | Velocity = NULL |
||
) |
source file for TSystemCST2D
constructor
S is the stiffness/system mat for stationary problem
S is the stiffness/system mat for stationary problem
TSystemCST2D::~TSystemCST2D | ( | ) |
destructor
void TSystemCST2D::Assemble | ( | double * | sol, |
double * | rhs | ||
) |
assemble the system matrix
void TSystemCST2D::Init | ( | CoeffFct2D * | lincoeffs, |
BoundCondFunct2D * | BoundCond, | ||
BoundValueFunct2D * | S1BoundValue, | ||
BoundValueFunct2D * | S2BoundValue, | ||
BoundValueFunct2D * | S3BoundValue, | ||
TAuxParam2D * | aux, | ||
TAuxParam2D * | auxerror | ||
) |
methods Initilize the discrete forms and the matrices
void TSystemCST2D::MeasureErrors | ( | DoubleFunct2D * | ExactS1, |
DoubleFunct2D * | ExactS2, | ||
DoubleFunct2D * | ExactS3, | ||
double * | s_error | ||
) |
measure the error
void TSystemCST2D::Solve | ( | double * | sol, |
double * | rhs | ||
) |
solve the system matrix
|
protected |
Boundary conditon
|
protected |
Boundary values
|
protected |
Discrete form for the equation
|
protected |
Discretization type
|
protected |
Fe functions
|
protected |
fespace
|
protected |
Bilinear coefficient
|
protected |
number of matrices in the system matrix
|
protected |
DOFs of stress space
|
protected |
Solver type
|
protected |
S is the stiffness/system mat
|
protected |
sqstructureA of the system matrix
|
protected |
Tensor type