#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) |
TGridCell * | GenerateRefElement () |
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 |
set of all base function on the reference element for a finite element in two dimensions
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
void TBaseFunct2D::ChangeBF | ( | TCollection * | Coll, |
TBaseCell * | Cell, | ||
double * | Values | ||
) |
change basis functions on cell if needed
void TBaseFunct2D::ChangeBF | ( | TCollection * | Coll, |
TBaseCell * | Cell, | ||
int | N_Points, | ||
double ** | Values | ||
) |
change basis functions on cell in all points if needed
TGridCell * TBaseFunct2D::GenerateRefElement | ( | ) |
generate reference element
|
inline |
return accuracy
|
inline |
return the dimension of the vector basis function
|
inline |
return array with basis function indices
|
inline |
return the values for derivative MultiIndex at (xi,eta)
void TBaseFunct2D::GetDerivatives | ( | MultiIndex2D | MultiIndex, |
TQuadFormula2D * | formula, | ||
double ** | values | ||
) |
return the values for derivative MultiIndex at all quadrature points
void TBaseFunct2D::GetDerivatives | ( | MultiIndex2D | MultiIndex, |
int | N_Points, | ||
double * | zeta, | ||
int | joint, | ||
double ** | Values | ||
) |
return derivatives on joint i
return derivatives on joint
|
inline |
return the dimension of local space
|
inline |
return BaseFunct_ID
|
inline |
return number of changeable basis functions per joint
|
inline |
return polynomial degree
|
inline |
return reference element
void TBaseFunct2D::GetValues | ( | int | N_Points, |
double * | zeta, | ||
int | joint, | ||
double ** | Values | ||
) |
return values on joint i
return values on joint
void TBaseFunct2D::GetValues | ( | int | N_Points, |
double * | zeta, | ||
int | joint, | ||
MultiIndex2D | index, | ||
double ** | Values | ||
) |
return values of derivative index on joint
void TBaseFunct2D::MakeRefElementData | ( | QuadFormula1D | LineQuadFormula | ) |
make date on reference element
make data on reference element added methods for vector basis function
void TBaseFunct2D::MakeRefElementData | ( | QuadFormula2D | QuadFormula | ) |
make date on reference element
make data on reference element
void TBaseFunct2D::SetFunction | ( | MultiIndex2D | MultiIndex, |
DoubleFunct2D * | function | ||
) |
set function for derivative MultiIndex
|
inline |
set status to unchangable
|
protected |
accuracy
|
protected |
Id for this set of base functions
|
protected |
Dimension of the vector basis function
|
protected |
indices of basis functions with changeable sign, sorted by joints
|
protected |
status of changability of entries
|
protected |
number of base functions = dimension of local space
|
protected |
array for all functions and derivatives
|
protected |
number of basis functions per joint where the sign has to be changed if needed
|
protected |
polynomial degree
|
protected |
reference element used for this set of base functions
|
protected |
Space dependent basis function, (LPS with Exp bubble)