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

stores the information of a 3D scalar system matrix More...

#include <SystemCD3D.h>

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

Public Member Functions

 TSystemCD3D (int N_levels, TFESpace3D **fespaces, double **sol, double **rhs, int disctype, int solver)
 
 ~TSystemCD3D ()
 
void Init (CoeffFct3D *BilinearCoeffs, BoundCondFunct3D *BoundCond, BoundValueFunct3D *BoundValue, TAuxParam3D *aux)
 
void Assemble ()
 
void Solve (double *sol, double *rhs)
 
TParFECommunicator3DGet_ParComm (int level)
 

Protected Attributes

TParFEMapper3D ** ParMapper
 
TParFECommunicator3D ** ParComm
 
MPI_Comm Comm
 
TParDirectSolverDS
 
int N_Levels
 
int Start_Level
 
TFESpace3D ** FeSpaces
 
TFESpace3Dfesp [1]
 
TFESpace3Dferhs [1]
 
BoundCondFunct3D * BoundaryConditions [1]
 
BoundValueFunct3D * BoundaryValues [1]
 
int N_DOF
 
int Disctype
 
int SOLVER
 
int N_Matrices
 
TAssembleMat3D ** AMatRhsAssemble
 
TSquareStructure3D ** sqstructure
 
TSquareMatrix3D ** sqmatrixA
 
TSquareMatrix3DSQMATRICES [1]
 
TSquareMatrix ** sqmatrices
 
TDiscreteForm3DDiscreteFormARhs
 
double ** SolArray
 
double ** RhsArray
 
double * RHSs [1]
 
double Parameters [2]
 
double N_aux
 
double * Itmethod_sol
 
double * Itmethod_rhs
 
TMultiGrid3DMG
 
TMGLevel3DMGLevel
 
TItMethodItmethod
 
TItMethodprec
 

Detailed Description

stores the information of a 3D scalar system matrix

class for 3D scalar system matrix


Author
Sashikumaar Ganesan
Date
23.01.15

Constructor & Destructor Documentation

TSystemCD3D::TSystemCD3D ( int  N_levels,
TFESpace3D **  fespaces,
double **  sol,
double **  rhs,
int  disctype,
int  solver 
)

Constructor

need it for solver

A is the stiffness/system mat for stationary problem

Here is the call graph for this function:

TSystemCD3D::~TSystemCD3D ( )

destrcutor

Member Function Documentation

void TSystemCD3D::Assemble ( )

assemble the system matrix

Here is the call graph for this function:

void TSystemCD3D::Init ( CoeffFct3D *  BilinearCoeffs,
BoundCondFunct3D *  BoundCond,
BoundValueFunct3D *  BoundValue,
TAuxParam3D aux 
)

Initilize the discrete forms and the matrices

Here is the call graph for this function:

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

solve the system matrix

Here is the call graph for this function:

Member Data Documentation

TAssembleMat3D** TSystemCD3D::AMatRhsAssemble
protected

instance of the Assemble class

BoundCondFunct3D* TSystemCD3D::BoundaryConditions[1]
protected

Boundary condition and Boundary Value

BoundValueFunct3D* TSystemCD3D::BoundaryValues[1]
protected

Boundary condition and Boundary Value

TDiscreteForm3D* TSystemCD3D::DiscreteFormARhs
protected

Discrete form for the equation

int TSystemCD3D::Disctype
protected

Discretization type

TFESpace3D** TSystemCD3D::FeSpaces
protected

fespace

int TSystemCD3D::N_DOF
protected

N_DOF at fine level

int TSystemCD3D::N_Levels
protected

Number of multigrid levels

int TSystemCD3D::N_Matrices
protected

number of matrices in the system matrix

double TSystemCD3D::Parameters[2]
protected

variables for multigrid

TParFEMapper3D** TSystemCD3D::ParMapper
protected

own fespace and parallel FE Communicator

double** TSystemCD3D::SolArray
protected

rhs for assemble

int TSystemCD3D::SOLVER
protected

SOLVER type

TSquareMatrix3D** TSystemCD3D::sqmatrixA
protected

A is the stiffness/system mat for stationary problem

TSquareStructure3D** TSystemCD3D::sqstructure
protected

sqstructure of the system matrix

int TSystemCD3D::Start_Level
protected

starting level for the solver, e.g. Start_Level = N_Levels-1 for direct solver


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