stores the information of a timedependent part of a 2D scalar system matrix More...
#include <SystemTCD2D_ALE.h>
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) |
TSquareMatrix2D * | GetAMatrix () |
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] |
TFESpace2D * | GridFESpace |
BoundValueFunct2D * | GridBoundValue [1] |
TFEVectFunct2D * | GridPos |
TFEVectFunct2D * | RefGridPos |
TFEFunction2D * | MeshVeloFct [2] |
TDiscreteForm2D * | DiscreteFormMARhs |
TDiscreteForm2D * | DiscreteFormGrid |
TSquareMatrix2D * | sqmatrixM_old |
TSquareMatrix2D * | sqmatrixM_Qp1 |
TSquareMatrix2D * | sqmatrixA_Qp1 |
TSquareMatrix2D * | SqmatrixG11 |
TSquareMatrix2D * | SqmatrixG12 |
TSquareMatrix2D * | SqmatrixG21 |
TSquareMatrix2D * | SqmatrixG22 |
TSquareMatrix2D * | SQMATRICES_GRID [4] |
TSquareStructure2D * | SquareStructureG |
TAuxParam2D * | Aux_ALE |
TAuxParam2D * | Meshaux |
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 | |
TSquareMatrix2D * | sqmatrixM |
double * | B |
double * | defect |
double | gamma |
TSquareMatrix2D * | sqmatrixK |
TSquareMatrix2D * | sqmatrixS |
TDiscreteForm2D * | DiscreteFormMRhs |
bool | SystMatAssembled |
TCDSystemTimeDG * | TimeDG |
Protected Attributes inherited from TSystemCD2D | |
TFESpace2D * | FeSpace |
int | N_DOF |
int | N_Active |
int | Disctype |
int | SOLVER |
int | N_Matrices |
TSquareStructure2D * | sqstructure |
TSquareMatrix2D * | sqmatrixA |
TSquareMatrix2D * | SQMATRICES [3] |
TSquareMatrix ** | sqmatrices |
BoundCondFunct2D * | BoundaryConditions [1] |
BoundValueFunct2D * | BoundaryValues [1] |
TDiscreteForm2D * | DiscreteFormARhs |
stores the information of a timedependent part of a 2D scalar system matrix
class for 2D scalar system matrix
TSystemTCD2D_ALE::TSystemTCD2D_ALE | ( | TFESpace2D * | fespace, |
int | disctype, | ||
int | solver, | ||
TFESpace2D * | gridFESpace, | ||
TFEVectFunct2D * | MeshVelocity, | ||
bool | conservativeale | ||
) |
source file for TSystemTCD2D_ALE
constructor
old M mass matrix
matrices at time quad points for dG time steppings
additional rhs for Qp1
M mass matrix
A stifness matrix
void TSystemTCD2D_ALE::AssembleALEMat | ( | double * | sol, |
double * | rhs, | ||
double | tau | ||
) |
assemble the M, A and rhs for different time disc schemes
dG time steppings
void TSystemTCD2D_ALE::AssembleMARhs | ( | double * | sol, |
double * | rhs | ||
) |
assemble the Mass, stiff mat and rhs
void TSystemTCD2D_ALE::AssembleMeshMat | ( | ) |
assemble the Mesh mat and rhs
void TSystemTCD2D_ALE::AssembleMRhs | ( | double * | sol, |
double * | rhs | ||
) |
assemble the Mass mat and rhs
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
void TSystemTCD2D_ALE::GetMeshVelo | ( | double | Currtime, |
double | tau, | ||
bool | MoveMesh | ||
) |
Get Mesh Velo
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
void TSystemTCD2D_ALE::Solve | ( | double * | sol, |
double * | rhs | ||
) |
solve the system matrix
void TSystemTCD2D_ALE::StoreMmat | ( | ) |
return the stiffness matric store M mat for next time step
|
protected |
aux for mesh
|
protected |
Discrete form for moving mesh
|
protected |
Grid bounadry conditions
|
protected |
Fgrid BC
|
protected |
grid fespace
|
protected |
grid pos vector
|
protected |
Grid Posistions
|
protected |
Fe functions of NSE
|
protected |
method for Modify Bound Coords
|
protected |
method for Modify Mesh Coords
|
protected |
No. of Grid DOFs
|
protected |
data for Modify Bound Coords
|
protected |
additional rhs for dG time disc
|
protected |
for mesh displacement
|
protected |
marices for the moving grid
|
protected |
Old M mass matrix
|
protected |
matrices at time quad points for dG time disc
|
protected |
structure for the moving grid