stores the information of a 2D Darcy system matrix More...
#include <SystemDarcy2D.h>
Public Member Functions | |
TSystemDarcy2D (TFESpace2D **fespaces) | |
source file for TSystemDarcy2D More... | |
~TSystemDarcy2D () | |
void | Init (BoundCondFunct2D **BoundCond, BoundValueFunct2D **BoundValue) |
void | Assemble (LocalAssembling2D &la, double *sol, double *rhs) |
void | Solve (double *sol, double *rhs) |
Protected Attributes | |
TFESpace2D * | fe_spaces [2] |
int | N_Matrices |
TSquareMatrix2D * | sq_matrices [2] |
TMatrix2D * | rect_matrices [2] |
BoundCondFunct2D * | BoundaryConditions [2] |
BoundValueFunct2D * | BoundaryValues [2] |
stores the information of a 2D Darcy system matrix
class for 2D scalar system matrix
TSystemDarcy2D::TSystemDarcy2D | ( | TFESpace2D ** | fespaces | ) |
source file for TSystemDarcy2D
constructor
create the velocity-velocity coupling matrix
create the pressure-pressure coupling matrix
create velocity-pressure and pressure-velocity coupling matrices
TSystemDarcy2D::~TSystemDarcy2D | ( | ) |
destrcutor
void TSystemDarcy2D::Assemble | ( | LocalAssembling2D & | la, |
double * | sol, | ||
double * | rhs | ||
) |
assemble the system matrix
void TSystemDarcy2D::Init | ( | BoundCondFunct2D ** | BoundCond, |
BoundValueFunct2D ** | BoundValue | ||
) |
Initilize the discrete forms and the matrices
void TSystemDarcy2D::Solve | ( | double * | sol, |
double * | rhs | ||
) |
solve the system matrix
|
protected |
Boundary conditon (one for u.n and one for pressure)
|
protected |
Boundary value
|
protected |
fespaces for velocity and pressure
|
protected |
number of matrices in the system matrix
|
protected |
A is the stiffness/system mat for stationary problem