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

#include <BaseFunct2D.h>

Public Member Functions

 TBaseFunct2D (int dimension, BaseFunct2D basefunct, BF2DRefElements refelement, DoubleFunct2D *functions, DoubleFunct2D *derivativesxi, DoubleFunct2D *derivativeseta, DoubleFunct2D *derivativesxixi, DoubleFunct2D *derivativesxieta, DoubleFunct2D *derivativesetaeta, int polynomialdegree, int accuracy, int n_bf2change, int **bf2change)
 
 TBaseFunct2D (int dimension, BaseFunct2D basefunct, BF2DRefElements refelement, DoubleFunct2D *functions, DoubleFunct2D *derivativesxi, DoubleFunct2D *derivativeseta, DoubleFunct2D *derivativesxixi, DoubleFunct2D *derivativesxieta, DoubleFunct2D *derivativesetaeta, int polynomialdegree, int accuracy, int n_bf2change, int **bf2change, int baseVectDim)
 
 TBaseFunct2D (int dimension, BaseFunct2D basefunct, BF2DRefElements refelement, DoubleFunct2D *functions, DoubleFunct2D *derivativesxi, DoubleFunct2D *derivativeseta, DoubleFunct2D *derivativesxixi, DoubleFunct2D *derivativesxieta, DoubleFunct2D *derivativesetaeta, int polynomialdegree, int accuracy, int n_bf2change, int **bf2change, bool spaceDeptBasis)
 
 TBaseFunct2D (int dimension)
 
int GetDimension () const
 
BaseFunct2D GetID () const
 
void GetDerivatives (MultiIndex2D MultiIndex, double xi, double eta, double *values)
 
void GetDerivatives (MultiIndex2D MultiIndex, TQuadFormula2D *formula, double **values)
 
void GetValues (int N_Points, double *zeta, int i, double **Values)
 
void GetDerivatives (MultiIndex2D MultiIndex, int N_Points, double *zeta, int i, double **Values)
 
void GetValues (int N_Points, double *zeta, int i, MultiIndex2D index, double **Values)
 
void SetUnchangable ()
 
void SetFunction (MultiIndex2D MultiIndex, DoubleFunct2D *function)
 
void MakeRefElementData (QuadFormula1D QuadFormula)
 
void MakeRefElementData (QuadFormula2D QuadFormula)
 
TGridCellGenerateRefElement ()
 
BF2DRefElements GetRefElement () const
 
int GetPolynomialDegree () const
 
int GetAccuracy () const
 
int GetN_BF2Change () const
 
int ** GetBF2Change () const
 
void ChangeBF (TCollection *Coll, TBaseCell *Cell, double *Values)
 
void ChangeBF (TCollection *Coll, TBaseCell *Cell, int N_Points, double **Values)
 
int GetBaseVectDim () const
 

Protected Attributes

int Dimension
 
BaseFunct2D BaseFunct
 
DoubleFunct2D * Functions [N_MultiIndices2D]
 
bool changable
 
BF2DRefElements RefElement
 
int PolynomialDegree
 
int Accuracy
 
int N_BF2Change
 
int ** BF2Change
 
int BaseVectDim
 
bool SpaceDeptBasis
 

Detailed Description

set of all base function on the reference element for a finite element in two dimensions

Constructor & Destructor Documentation

TBaseFunct2D::TBaseFunct2D ( int  dimension,
BaseFunct2D  basefunct,
BF2DRefElements  refelement,
DoubleFunct2D *  functions,
DoubleFunct2D *  derivativesxi,
DoubleFunct2D *  derivativeseta,
DoubleFunct2D *  derivativesxixi,
DoubleFunct2D *  derivativesxieta,
DoubleFunct2D *  derivativesetaeta,
int  polynomialdegree,
int  accuracy,
int  n_bf2change,
int **  bf2change 
)

constructor, fill in all information

TBaseFunct2D::TBaseFunct2D ( int  dimension,
BaseFunct2D  basefunct,
BF2DRefElements  refelement,
DoubleFunct2D *  functions,
DoubleFunct2D *  derivativesxi,
DoubleFunct2D *  derivativeseta,
DoubleFunct2D *  derivativesxixi,
DoubleFunct2D *  derivativesxieta,
DoubleFunct2D *  derivativesetaeta,
int  polynomialdegree,
int  accuracy,
int  n_bf2change,
int **  bf2change,
int  baseVectDim 
)

constructor, fill in all information with scalar basis function dimension

TBaseFunct2D::TBaseFunct2D ( int  dimension,
BaseFunct2D  basefunct,
BF2DRefElements  refelement,
DoubleFunct2D *  functions,
DoubleFunct2D *  derivativesxi,
DoubleFunct2D *  derivativeseta,
DoubleFunct2D *  derivativesxixi,
DoubleFunct2D *  derivativesxieta,
DoubleFunct2D *  derivativesetaeta,
int  polynomialdegree,
int  accuracy,
int  n_bf2change,
int **  bf2change,
bool  spaceDeptBasis 
)

constructor, fill in all information with space dept. basis functions

TBaseFunct2D::TBaseFunct2D ( int  dimension)

constructor without filling data structure

Member Function Documentation

void TBaseFunct2D::ChangeBF ( TCollection Coll,
TBaseCell Cell,
double *  Values 
)

change basis functions on cell if needed

Here is the call graph for this function:

Here is the caller graph for this function:

void TBaseFunct2D::ChangeBF ( TCollection Coll,
TBaseCell Cell,
int  N_Points,
double **  Values 
)

change basis functions on cell in all points if needed

Here is the call graph for this function:

TGridCell * TBaseFunct2D::GenerateRefElement ( )

generate reference element

Here is the call graph for this function:

Here is the caller graph for this function:

int TBaseFunct2D::GetAccuracy ( ) const
inline

return accuracy

Here is the caller graph for this function:

int TBaseFunct2D::GetBaseVectDim ( ) const
inline

return the dimension of the vector basis function

Here is the caller graph for this function:

int** TBaseFunct2D::GetBF2Change ( ) const
inline

return array with basis function indices

void TBaseFunct2D::GetDerivatives ( MultiIndex2D  MultiIndex,
double  xi,
double  eta,
double *  values 
)
inline

return the values for derivative MultiIndex at (xi,eta)

Here is the caller graph for this function:

void TBaseFunct2D::GetDerivatives ( MultiIndex2D  MultiIndex,
TQuadFormula2D formula,
double **  values 
)

return the values for derivative MultiIndex at all quadrature points

Here is the call graph for this function:

void TBaseFunct2D::GetDerivatives ( MultiIndex2D  MultiIndex,
int  N_Points,
double *  zeta,
int  joint,
double **  Values 
)

return derivatives on joint i

return derivatives on joint

Here is the call graph for this function:

int TBaseFunct2D::GetDimension ( ) const
inline

return the dimension of local space

Here is the caller graph for this function:

BaseFunct2D TBaseFunct2D::GetID ( ) const
inline

return BaseFunct_ID

Here is the caller graph for this function:

int TBaseFunct2D::GetN_BF2Change ( ) const
inline

return number of changeable basis functions per joint

int TBaseFunct2D::GetPolynomialDegree ( ) const
inline

return polynomial degree

Here is the caller graph for this function:

BF2DRefElements TBaseFunct2D::GetRefElement ( ) const
inline

return reference element

Here is the caller graph for this function:

void TBaseFunct2D::GetValues ( int  N_Points,
double *  zeta,
int  joint,
double **  Values 
)

return values on joint i

return values on joint

Here is the call graph for this function:

Here is the caller graph for this function:

void TBaseFunct2D::GetValues ( int  N_Points,
double *  zeta,
int  joint,
MultiIndex2D  index,
double **  Values 
)

return values of derivative index on joint

Here is the call graph for this function:

void TBaseFunct2D::MakeRefElementData ( QuadFormula1D  LineQuadFormula)

make date on reference element

make data on reference element added methods for vector basis function

Here is the call graph for this function:

Here is the caller graph for this function:

void TBaseFunct2D::MakeRefElementData ( QuadFormula2D  QuadFormula)

make date on reference element

make data on reference element

Here is the call graph for this function:

void TBaseFunct2D::SetFunction ( MultiIndex2D  MultiIndex,
DoubleFunct2D *  function 
)

set function for derivative MultiIndex

void TBaseFunct2D::SetUnchangable ( )
inline

set status to unchangable

Member Data Documentation

int TBaseFunct2D::Accuracy
protected

accuracy

BaseFunct2D TBaseFunct2D::BaseFunct
protected

Id for this set of base functions

int TBaseFunct2D::BaseVectDim
protected

Dimension of the vector basis function

int** TBaseFunct2D::BF2Change
protected

indices of basis functions with changeable sign, sorted by joints

bool TBaseFunct2D::changable
protected

status of changability of entries

int TBaseFunct2D::Dimension
protected

number of base functions = dimension of local space

DoubleFunct2D* TBaseFunct2D::Functions[N_MultiIndices2D]
protected

array for all functions and derivatives

int TBaseFunct2D::N_BF2Change
protected

number of basis functions per joint where the sign has to be changed if needed

int TBaseFunct2D::PolynomialDegree
protected

polynomial degree

BF2DRefElements TBaseFunct2D::RefElement
protected

reference element used for this set of base functions

bool TBaseFunct2D::SpaceDeptBasis
protected

Space dependent basis function, (LPS with Exp bubble)


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