ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
TNSE_MGLevel5 Class Reference
Inheritance diagram for TNSE_MGLevel5:
Inheritance graph
[legend]
Collaboration diagram for TNSE_MGLevel5:
Collaboration graph
[legend]

Public Member Functions

 TNSE_MGLevel5 (int level, TSquareMatrixNSE2D *A, double *f1, double *u1, int n_aux, double *al, int VelocitySpace, int PressureSpace, TFESpace2D *PSpace, TCollection *coll)
 
 TNSE_MGLevel5 (int level, TSquareMatrixNSE3D *A, double *f1, double *u1, int n_aux, double *al, int VelocitySpace, int PressureSpace, TFESpace3D *PSpace, TCollection *coll)
 
 ~TNSE_MGLevel5 ()
 
virtual void Defect (double *u1, double *f1, double *d1, double &res)
 
virtual void CorrectNodes (double *u1)
 
virtual void CellVanka (double *u1, double *rhs1, double *aux, int N_Parameters, double *Parameters, int smoother, int N_Levels)
 
virtual void NodalVanka (double *u1, double *rhs1, double *aux, int N_Parameters, double *Parameters, int smoother, int N_Levels)
 
virtual void SolveExact (double *u1, double *rhs1)
 
virtual void SolveExactUMFPACK (double *u1, double *rhs1, int &umfpack_flag)
 
virtual void BraessSarazin (double *u1, double *rhs1, double *aux, int N_Parameters, double *Parameters, int N_Levels)
 
virtual double StepLengthControl (double *u1, double *u1old, double *def1, int N_Parameters, double *Parameter)
 
virtual void PrintAll ()
 
void GetUstarFromU (double *u, double *ustar)
 
void GetUFromUstar (double *ustar, double *u)
 
void GetDstarFromD (double *d, double *dstar)
 
void GetDFromDstar (double *dstar, double *d)
 
- Public Member Functions inherited from TNSE_MGLevel
 TNSE_MGLevel (int level, double *f1, double *u1, int n_aux, double *al, int VelocitySpace, int PressureSpace, TCollection *coll)
 
 ~TNSE_MGLevel ()
 
double * GetAuxVector (int i)
 
void GetSolution (double *&u1, double *&u2, double *&p)
 
void GetRhs (double *&f1, double *&f2, double *&f3)
 
void GetSolution (double *&u1, double *&u2, double *&u3, double *&p)
 
void GetRhs (double *&f1, double *&f2, double *&f3, double *&f4)
 
void GetSolutionVector (double *&u1)
 
void GetRhsVector (double *&f1)
 
double ** GetAuxVectors ()
 
int GetN_UDOF ()
 
int GetN_PDOF ()
 
int GetVelocitySpace ()
 
int GetPressureSpace ()
 
int GetHangingNodeBound ()
 
int GetN_Dirichlet ()
 
void Update (double *u1, double *v1)
 
void SetHangingNodes (double *u1)
 
void CorrectDefect (double *v1)
 
void Reset (double *v1)
 
TFESpace2DGetUSpace ()
 
TFESpace2DGetPSpace ()
 
TFESpace3DGetUSpace ()
 
TFESpace3DGetPSpace ()
 
TCollectionGetCollection ()
 
void SetCollection (TCollection *coll)
 
int GetType ()
 

Protected Attributes

TSquareMatrixNSE2DA
 
TStructureNSE2DStructureA
 
TSquareMatrixNSE3DA
 
TStructureNSE3DStructureA
 
int * BeginJb
 
int * jb
 
int N_DOFperJoint
 
double * Alpha
 
int N_Cells
 
int * ARowPtr
 
int * AKCol
 
double * AEntries
 
- Protected Attributes inherited from TNSE_MGLevel
int Level
 
int Type
 
TFESpace2DUSpace
 
TFESpace2DPSpace
 
TFESpace3DUSpace
 
TFESpace3DPSpace
 
int N_Dirichlet
 
int N_Active
 
int HangingNodeBound
 
int N_DOF
 
int N_UDOF
 
int N_PDOF
 
int VelocitySpace
 
int PressureSpace
 
double * Rhs1
 
double * Rhs2
 
double * Rhs3
 
double * RhsP
 
double * U1
 
double * U2
 
double * U3
 
double * P
 
int N_Aux
 
double ** Aux
 
double * Additional
 
double alpha
 
double beta
 
TCollectionVankaColl
 
int * downwind
 
int * velo_velo_local_coupling
 
int * gradient_local_coupling
 
int * divergence_local_coupling
 

Constructor & Destructor Documentation

TNSE_MGLevel5::TNSE_MGLevel5 ( int  level,
TSquareMatrixNSE2D a,
double *  f1,
double *  u1,
int  n_aux,
double *  al,
int  velocity_space,
int  pressure_space,
TFESpace2D pspace,
TCollection Coll 
)

constructor

Here is the call graph for this function:

TNSE_MGLevel5::~TNSE_MGLevel5 ( )

destructor

Member Function Documentation

void TNSE_MGLevel5::BraessSarazin ( double *  u1,
double *  rhs1,
double *  aux,
int  N_Parameters,
double *  Parameters,
int  N_Levels 
)
virtual

Braess–Sarazin smoother

Reimplemented from TNSE_MGLevel.

void TNSE_MGLevel5::CellVanka ( double *  u1,
double *  rhs1,
double *  aux,
int  N_Parameters,
double *  Parameters,
int  smoother,
int  N_Levels 
)
virtual

Vanka smoother

cellwise Vanka smoother, GAUSS-SEIDEL type

Reimplemented from TNSE_MGLevel.

Here is the call graph for this function:

void TNSE_MGLevel5::CorrectNodes ( double *  u1)
virtual

correct Dirichlet and hanging nodes

Reimplemented from TNSE_MGLevel.

void TNSE_MGLevel5::Defect ( double *  u,
double *  f,
double *  d,
double &  res 
)
virtual

calculate defect

Reimplemented from TNSE_MGLevel.

void TNSE_MGLevel5::GetDFromDstar ( double *  dstar,
double *  d 
)

calculate d-representation form dstar-representation

calculate d-representation from dstar-representation

Here is the call graph for this function:

void TNSE_MGLevel5::GetDstarFromD ( double *  d,
double *  dstar 
)

calculate dstar-representation from d-representation

Here is the call graph for this function:

void TNSE_MGLevel5::GetUFromUstar ( double *  ustar,
double *  u 
)

calculate u-representation form ustar-representation

calculate u-representation from ustar-representation

Here is the call graph for this function:

void TNSE_MGLevel5::GetUstarFromU ( double *  u,
double *  ustar 
)

calculate ustar-representation from u-representation

Here is the call graph for this function:

void TNSE_MGLevel5::NodalVanka ( double *  u1,
double *  rhs1,
double *  aux,
int  N_Parameters,
double *  Parameters,
int  smoother,
int  N_Levels 
)
virtual

Vanka smoother

nodal Vanka smoother, GAUSS-SEIDEL type

Reimplemented from TNSE_MGLevel.

void TNSE_MGLevel5::PrintAll ( )
virtual

print all matrices and both right hand sides

print all matrices and oth right hand sides

Reimplemented from TNSE_MGLevel.

void TNSE_MGLevel5::SolveExact ( double *  u1,
double *  rhs1 
)
virtual

solve exact on this level

solve exact on this level, old version

solve exact on this level solve exact on this level, old version

Reimplemented from TNSE_MGLevel.

Here is the call graph for this function:

void TNSE_MGLevel5::SolveExactUMFPACK ( double *  u1,
double *  rhs1,
int &  umfpack_flag 
)
virtual

solve exact on this level

Reimplemented from TNSE_MGLevel.

double TNSE_MGLevel5::StepLengthControl ( double *  u1,
double *  u1old,
double *  def1,
int  N_Parameters,
double *  Parameters 
)
virtual

step length control for Vanka

step length control for smoother

Reimplemented from TNSE_MGLevel.

Member Data Documentation

TSquareMatrixNSE2D* TNSE_MGLevel5::A
protected

matrix A

TSquareMatrixNSE3D* TNSE_MGLevel5::A
protected

matrix A

double* TNSE_MGLevel5::AEntries
protected

matrix entries of matrix A

int* TNSE_MGLevel5::AKCol
protected

column number vector for matrix A

int* TNSE_MGLevel5::ARowPtr
protected

row pointer for matrix A

int TNSE_MGLevel5::N_Cells
protected

number of cells in collection

TStructureNSE2D* TNSE_MGLevel5::StructureA
protected

structure of matrix A

TStructureNSE3D* TNSE_MGLevel5::StructureA
protected

structure of matrix A


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