ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
TSystemCST2D Class Reference

stores the information of a 2D CST system matrix More...

#include <SystemCST2D.h>

Collaboration diagram for TSystemCST2D:
Collaboration graph
[legend]

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
 
TFESpace2DFeSpace [5]
 
TFEFunction2DFeFct [3]
 
TFEFunction2Du1
 
TFEFunction2Du2
 
int Disctype
 
int SOLVER
 
int Tensortype
 
int N_Matrices
 
CoeffFct2D * LinCoeffs [1]
 
TSquareStructure2Dsqstructure
 
TSquareMatrix2DSqmatrixS11
 
TSquareMatrix2DSqmatrixS12
 
TSquareMatrix2DSqmatrixS21
 
TSquareMatrix2DSqmatrixS22
 
TSquareMatrix2DSqmatrixS23
 
TSquareMatrix2DSqmatrixS32
 
TSquareMatrix2DSqmatrixS33
 
TSquareMatrix2DSQMATRICES [8]
 
TSquareMatrix ** sqmatrices
 
TAuxParam2DNSEaux
 
TAuxParam2DNSEaux_error
 
BoundCondFunct2D * BoundaryConditions [3]
 
BoundValueFunct2D * BoundaryValues [3]
 
TDiscreteForm2DDiscreteFormARhs
 

Detailed Description

stores the information of a 2D CST system matrix

class for 2D CST system matrix


Author
Jagannath Venkatesan,
Date
18.08.15 Added methods (Jagan, 23.08.14)

Constructor & Destructor Documentation

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


Author
Jagannath Venkatesan,
Date
18.08.15 Moved aux to main program, Removed FE_Vel in constructor

S is the stiffness/system mat for stationary problem

S is the stiffness/system mat for stationary problem

Here is the call graph for this function:

TSystemCST2D::~TSystemCST2D ( )

destructor

Member Function Documentation

void TSystemCST2D::Assemble ( double *  sol,
double *  rhs 
)

assemble the system matrix

Here is the call graph for this function:

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

Here is the call graph for this function:

void TSystemCST2D::Solve ( double *  sol,
double *  rhs 
)

solve the system matrix

Member Data Documentation

BoundCondFunct2D* TSystemCST2D::BoundaryConditions[3]
protected

Boundary conditon

BoundValueFunct2D* TSystemCST2D::BoundaryValues[3]
protected

Boundary values

TDiscreteForm2D* TSystemCST2D::DiscreteFormARhs
protected

Discrete form for the equation

int TSystemCST2D::Disctype
protected

Discretization type

TFEFunction2D* TSystemCST2D::FeFct[3]
protected

Fe functions

TFESpace2D* TSystemCST2D::FeSpace[5]
protected

fespace

CoeffFct2D* TSystemCST2D::LinCoeffs[1]
protected

Bilinear coefficient

int TSystemCST2D::N_Matrices
protected

number of matrices in the system matrix

int TSystemCST2D::N_S
protected

DOFs of stress space

int TSystemCST2D::SOLVER
protected

Solver type

TSquareMatrix2D* TSystemCST2D::SqmatrixS11
protected

S is the stiffness/system mat

TSquareStructure2D* TSystemCST2D::sqstructure
protected

sqstructureA of the system matrix

int TSystemCST2D::Tensortype
protected

Tensor type


The documentation for this class was generated from the following files: