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

stores the information of a timedependent part of a 2D scalar system matrix More...

#include <SystemTCD2D_ALE.h>

Inheritance diagram for TSystemTCD2D_ALE:
Inheritance graph
[legend]
Collaboration diagram for TSystemTCD2D_ALE:
Collaboration graph
[legend]

Public Member Functions

 TSystemTCD2D_ALE (TFESpace2D *fespace, int disctype, int solver, TFESpace2D *gridFESpace, TFEVectFunct2D *MeshVelocity, bool conservativeale)
 source file for TSystemTCD2D_ALE More...
 
void Init (CoeffFct2D *BilinearCoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *BoundValue, CoeffFct2D *GridBilinearCoeffs, BoundCondFunct2D *GridBoundCond, BoundValueFunct2D *gridBoundValue, TAuxParam2D *aux)
 
void AddMeshModifyFunction (ModifyMeshCoords *modifyCoord)
 
void AddBoundModifyFunction (ModifyBoundCoords *modifyboudary, int n_MovVert, TVertex **movBoundVert, TIsoBoundEdge **free_Joint, double *iso_refX)
 
void StoreMmat ()
 
void MoveMesh (double Currtime)
 
void GetMeshVelo (double Currtime, double tau, bool MoveMesh)
 
void AssembleMeshMat ()
 
void AssembleMRhs (double *sol, double *rhs)
 
void AssembleMARhs (double *sol, double *rhs)
 
void AssembleALEMat (double *sol, double *rhs, double tau)
 
void AssembleSystMat (double *oldrhs, double *oldsol, double *rhs, double *sol)
 
void Solve (double *sol, double *rhs)
 
- Public Member Functions inherited from TSystemTCD2D
 TSystemTCD2D (TFESpace2D *fespace, int disctype, int solver)
 source file for TSystemTCD2D More...
 
 ~TSystemTCD2D ()
 
void Init (CoeffFct2D *BilinearCoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *BoundValue)
 
TSquareMatrix2DGetAMatrix ()
 
void AssembleMRhs (TAuxParam2D *aux, double *sol, double *rhs)
 
void AssembleARhs (TAuxParam2D *aux, double *sol, double *rhs)
 
void AssembleSystMat (double *oldrhs, double *oldsol, double *rhs, double *sol)
 
void RestoreMassMat ()
 
void Solve (double *sol, double *rhs)
 
double GetResidual (double *sol)
 
- Public Member Functions inherited from TSystemCD2D
 TSystemCD2D (TFESpace2D *fespace, int disctype, int solver)
 source file for TSystemCD2D More...
 
 ~TSystemCD2D ()
 
void Init (CoeffFct2D *BilinearCoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *BoundValue)
 
void Assemble (TAuxParam2D *aux, double *sol, double *rhs)
 
void Solve (double *sol, double *rhs)
 

Protected Attributes

int N_GridDOFs
 
int N_GridActive
 
int * GridKCol
 
int * GridRowPtr
 
double * rhs_Qp1
 
double * MeshVelo
 
double * gridpos
 
double * gridpos_old
 
double * gridpos_ref
 
double * griddisp
 
double * GridRhs
 
double * Entries [4]
 
TFESpace2DGridFESpace
 
BoundValueFunct2D * GridBoundValue [1]
 
TFEVectFunct2DGridPos
 
TFEVectFunct2DRefGridPos
 
TFEFunction2DMeshVeloFct [2]
 
TDiscreteForm2DDiscreteFormMARhs
 
TDiscreteForm2DDiscreteFormGrid
 
TSquareMatrix2DsqmatrixM_old
 
TSquareMatrix2DsqmatrixM_Qp1
 
TSquareMatrix2DsqmatrixA_Qp1
 
TSquareMatrix2DSqmatrixG11
 
TSquareMatrix2DSqmatrixG12
 
TSquareMatrix2DSqmatrixG21
 
TSquareMatrix2DSqmatrixG22
 
TSquareMatrix2DSQMATRICES_GRID [4]
 
TSquareStructure2DSquareStructureG
 
TAuxParam2DAux_ALE
 
TAuxParam2DMeshaux
 
BoundCondFunct2D * GridBoundaryConditions [1]
 
BoundValueFunct2D * GridBoundValues [1]
 
ModifyMeshCoords * ModifyCoord
 
ModifyBoundCoords * ModifyBoudary
 
int N_MovVert
 
TVertex ** MovBoundVert
 
TIsoBoundEdge ** Free_Joint
 
double * Iso_refX
 
bool SolveLinearElastic
 
bool CONSERVATIVEALE
 
bool NeedInterMassMat
 
- Protected Attributes inherited from TSystemTCD2D
TSquareMatrix2DsqmatrixM
 
double * B
 
double * defect
 
double gamma
 
TSquareMatrix2DsqmatrixK
 
TSquareMatrix2DsqmatrixS
 
TDiscreteForm2DDiscreteFormMRhs
 
bool SystMatAssembled
 
TCDSystemTimeDGTimeDG
 
- Protected Attributes inherited from TSystemCD2D
TFESpace2DFeSpace
 
int N_DOF
 
int N_Active
 
int Disctype
 
int SOLVER
 
int N_Matrices
 
TSquareStructure2Dsqstructure
 
TSquareMatrix2DsqmatrixA
 
TSquareMatrix2DSQMATRICES [3]
 
TSquareMatrix ** sqmatrices
 
BoundCondFunct2D * BoundaryConditions [1]
 
BoundValueFunct2D * BoundaryValues [1]
 
TDiscreteForm2DDiscreteFormARhs
 

Detailed Description

stores the information of a timedependent part of a 2D scalar system matrix

class for 2D scalar system matrix


Author
Sashikumaar Ganesan
Date
08.08.14

Constructor & Destructor Documentation

TSystemTCD2D_ALE::TSystemTCD2D_ALE ( TFESpace2D fespace,
int  disctype,
int  solver,
TFESpace2D gridFESpace,
TFEVectFunct2D MeshVelocity,
bool  conservativeale 
)

source file for TSystemTCD2D_ALE

constructor


Author
Sashikumaar Ganesan
Date
19.02.15

old M mass matrix

matrices at time quad points for dG time steppings

additional rhs for Qp1

M mass matrix

A stifness matrix

Here is the call graph for this function:

Member Function Documentation

void TSystemTCD2D_ALE::AssembleALEMat ( double *  sol,
double *  rhs,
double  tau 
)

assemble the M, A and rhs for different time disc schemes

dG time steppings

Here is the call graph for this function:

void TSystemTCD2D_ALE::AssembleMARhs ( double *  sol,
double *  rhs 
)

assemble the Mass, stiff mat and rhs

Here is the call graph for this function:

Here is the caller graph for this function:

void TSystemTCD2D_ALE::AssembleMeshMat ( )

assemble the Mesh mat and rhs

Here is the call graph for this function:

Here is the caller graph for this function:

void TSystemTCD2D_ALE::AssembleMRhs ( double *  sol,
double *  rhs 
)

assemble the Mass mat and rhs

Here is the call graph for this function:

Here is the caller graph for this function:

void TSystemTCD2D_ALE::AssembleSystMat ( double *  oldrhs,
double *  oldsol,
double *  rhs,
double *  sol 
)

M = M + (tau*TDatabase::TimeDB->THETA1)*A B = (tau*TDatabase::TimeDB->THETA1)*rhs +(tau*TDatabase::TimeDB->THETA2)*oldrhs + [ M - (tau*TDatabase::TimeDB->THETA2)A]*oldsol

dG time steppings

Here is the call graph for this function:

void TSystemTCD2D_ALE::GetMeshVelo ( double  Currtime,
double  tau,
bool  MoveMesh 
)

Get Mesh Velo

Here is the call graph for this function:

Here is the caller graph for this function:

void TSystemTCD2D_ALE::Init ( CoeffFct2D *  BilinearCoeffs,
BoundCondFunct2D *  BoundCond,
BoundValueFunct2D *  BoundValue,
CoeffFct2D *  GridBilinearCoeffs,
BoundCondFunct2D *  GridBoundCond,
BoundValueFunct2D *  gridBoundValue,
TAuxParam2D aux 
)

destrcutor methods

dG time steppings

void TSystemTCD2D_ALE::MoveMesh ( double  Currtime)

move mesh

move the bound and mesh to the given time

Here is the call graph for this function:

Here is the caller graph for this function:

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

solve the system matrix

Here is the call graph for this function:

void TSystemTCD2D_ALE::StoreMmat ( )

return the stiffness matric store M mat for next time step

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

TAuxParam2D* TSystemTCD2D_ALE::Aux_ALE
protected

aux for mesh

TDiscreteForm2D* TSystemTCD2D_ALE::DiscreteFormMARhs
protected

Discrete form for moving mesh

BoundCondFunct2D* TSystemTCD2D_ALE::GridBoundaryConditions[1]
protected

Grid bounadry conditions

BoundValueFunct2D* TSystemTCD2D_ALE::GridBoundValue[1]
protected

Fgrid BC

TFESpace2D* TSystemTCD2D_ALE::GridFESpace
protected

grid fespace

TFEVectFunct2D* TSystemTCD2D_ALE::GridPos
protected

grid pos vector

double* TSystemTCD2D_ALE::MeshVelo
protected

Grid Posistions

TFEFunction2D* TSystemTCD2D_ALE::MeshVeloFct[2]
protected

Fe functions of NSE

ModifyBoundCoords* TSystemTCD2D_ALE::ModifyBoudary
protected

method for Modify Bound Coords

ModifyMeshCoords* TSystemTCD2D_ALE::ModifyCoord
protected

method for Modify Mesh Coords

int TSystemTCD2D_ALE::N_GridDOFs
protected

No. of Grid DOFs

int TSystemTCD2D_ALE::N_MovVert
protected

data for Modify Bound Coords

double* TSystemTCD2D_ALE::rhs_Qp1
protected

additional rhs for dG time disc

bool TSystemTCD2D_ALE::SolveLinearElastic
protected

for mesh displacement

TSquareMatrix2D* TSystemTCD2D_ALE::SqmatrixG11
protected

marices for the moving grid

TSquareMatrix2D* TSystemTCD2D_ALE::sqmatrixM_old
protected

Old M mass matrix

TSquareMatrix2D* TSystemTCD2D_ALE::sqmatrixM_Qp1
protected

matrices at time quad points for dG time disc

TSquareStructure2D* TSystemTCD2D_ALE::SquareStructureG
protected

structure for the moving grid


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