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

#include <DiscreteForm2D.h>

Public Member Functions

 TDiscreteForm2D (char *name, char *description, int n_terms, MultiIndex2D *derivatives, int *fespacenumber, int n_matrices, int n_rhs, int *rowspace, int *columnspace, int *rhsspace, AssembleFct2D *assemble, CoeffFct2D *coeffs, ManipulateFct2D *manipulate)
 
 TDiscreteForm2D (char *name, char *description, int n_terms, MultiIndex2D *derivatives, int *fespacenumber, int n_matrices, int n_rhs, int *rowspace, int *columnspace, int *rhsspace, AssembleFctParam2D *assembleparam, CoeffFct2D *coeffs, ManipulateFct2D *manipulate)
 
 ~TDiscreteForm2D ()
 
char * GetName ()
 
char * GetDescription ()
 
void GetLocalForms (int N_Points, double *weights, double *AbsDetjk, double hK, double *X, double *Y, int *N_BaseFuncts, BaseFunct2D *BaseFuncts, double **Parameters, double **AuxArray, TBaseCell *Cell, int N_Matrices, int N_Rhs, double ***LocMatrix, double **LocRhs, double factor=1.)
 
void GetLocalForms (int N_Points, double *weights, double *AbsDetjk, double hK, double *X, double *Y, int *N_BaseFuncts, BaseFunct2D *BaseFuncts, TBaseCell *Cell, double ***LocMatrix, double **LocRhs)
 
bool * GetNeeds2ndDerivatives () const
 
CoeffFct2D * GetCoeffFct () const
 
int rowSpaceOfMat (int i) const
 
int colSpaceOfMat (int i) const
 

Protected Attributes

char * Name
 
char * Description
 
int N_Terms
 
int N_Spaces
 
bool * Needs2ndDerivatives
 
MultiIndex2D * Derivatives
 
int * FESpaceNumber
 
int N_Matrices
 
int N_Rhs
 
int * RowSpace
 
int * ColumnSpace
 
int * RhsSpace
 
CoeffFct2D * Coeffs
 
AssembleFct2D * Assemble
 
AssembleFctParam2D * AssembleParam
 
ManipulateFct2D * Manipulate
 
double *** AllOrigValues
 
double ** OrigValues
 

Detailed Description

a function from a finite element space

Constructor & Destructor Documentation

TDiscreteForm2D::TDiscreteForm2D ( char *  name,
char *  description,
int  n_terms,
MultiIndex2D *  derivatives,
int *  fespacenumber,
int  n_matrices,
int  n_rhs,
int *  rowspace,
int *  columnspace,
int *  rhsspace,
AssembleFct2D *  assemble,
CoeffFct2D *  coeffs,
ManipulateFct2D *  manipulate 
)

constructor

constructor with vector initialization

constructor with assembling using parameters

TDiscreteForm2D::TDiscreteForm2D ( char *  name,
char *  description,
int  n_terms,
MultiIndex2D *  derivatives,
int *  fespacenumber,
int  n_matrices,
int  n_rhs,
int *  rowspace,
int *  columnspace,
int *  rhsspace,
AssembleFctParam2D *  assembleparam,
CoeffFct2D *  coeffs,
ManipulateFct2D *  manipulate 
)

constructor with assembling using parameters

TDiscreteForm2D::~TDiscreteForm2D ( )

destructor

Member Function Documentation

int TDiscreteForm2D::colSpaceOfMat ( int  i) const
inline

return the index of the column space of the i-th matrix

CoeffFct2D* TDiscreteForm2D::GetCoeffFct ( ) const
inline

function for calculating the coefficients

char* TDiscreteForm2D::GetDescription ( )
inline

return description

void TDiscreteForm2D::GetLocalForms ( int  N_Points,
double *  weights,
double *  AbsDetjk,
double  hK,
double *  X,
double *  Y,
int *  N_BaseFuncts,
BaseFunct2D *  BaseFuncts,
double **  Parameters,
double **  AuxArray,
TBaseCell Cell,
int  N_Matrices,
int  N_Rhs,
double ***  LocMatrix,
double **  LocRhs,
double  factor = 1. 
)

return local stiffness matrix

Here is the call graph for this function:

Here is the caller graph for this function:

void TDiscreteForm2D::GetLocalForms ( int  N_Points,
double *  weights,
double *  AbsDetjk,
double  hK,
double *  X,
double *  Y,
int *  N_BaseFuncts,
BaseFunct2D *  BaseFuncts,
TBaseCell Cell,
double ***  LocMatrix,
double **  LocRhs 
)

assemble local matrices and right hand sides

This is a simplified version of the above GetLocalForms(...).

Here is the call graph for this function:

char* TDiscreteForm2D::GetName ( )
inline

return name

bool* TDiscreteForm2D::GetNeeds2ndDerivatives ( ) const
inline

return array Needs2ndDerivatives

Here is the caller graph for this function:

int TDiscreteForm2D::rowSpaceOfMat ( int  i) const
inline

return the index of the row space of the i-th matrix

Member Data Documentation

double*** TDiscreteForm2D::AllOrigValues
protected

memory for storing the original value arrays

AssembleFct2D* TDiscreteForm2D::Assemble
protected

function doing the real assembling

AssembleFctParam2D* TDiscreteForm2D::AssembleParam
protected

function doing the real assembling using parameters from argument list

CoeffFct2D* TDiscreteForm2D::Coeffs
protected

function for calculating the coefficients

int* TDiscreteForm2D::ColumnSpace
protected

which FE space corresponds to each column

MultiIndex2D* TDiscreteForm2D::Derivatives
protected

multiindices for derivatives of ansatz functions

char* TDiscreteForm2D::Description
protected

some more describing words

int* TDiscreteForm2D::FESpaceNumber
protected

number of FESpace2D which is used for a derivative

ManipulateFct2D* TDiscreteForm2D::Manipulate
protected

function for manipulating the coefficients

int TDiscreteForm2D::N_Matrices
protected

number of matrices

int TDiscreteForm2D::N_Rhs
protected

number of right-hand sides

int TDiscreteForm2D::N_Spaces
protected

number of involved spaces

int TDiscreteForm2D::N_Terms
protected

number of terms

char* TDiscreteForm2D::Name
protected

name

bool* TDiscreteForm2D::Needs2ndDerivatives
protected

Are second derivatives from space i needed

double** TDiscreteForm2D::OrigValues
protected

memory for storing the original value arrays at one point

int* TDiscreteForm2D::RhsSpace
protected

which FE space corresponds to each right-hand side

int* TDiscreteForm2D::RowSpace
protected

which FE space corresponds to each row


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