#include <QuadFormula2D.h>
Public Member Functions | |
TQuadFormula2D () | |
TQuadFormula2D (int n_points, double *weights, double *xi, double *eta, int acc) | |
virtual double * | GetCoords (int i) |
void | GetFormulaData (int &n_points, double *&weights, double *&xi, double *&eta) |
Public Member Functions inherited from TQuadFormula | |
int | GetN_QuadPoints () |
double * | GetWeights () |
Static Public Member Functions | |
static void | FindQuadFormula2D (FE2D *UsedElements, QuadFormula1D &qf1, QuadFormula2D &qf2) |
static void | FindQF_2D (FE2D CurrentElement, QuadFormula1D &qf1, QuadFormula2D &qf2) |
static void | FindLocalQuadFormula2D (int N_LocalUsedElements, FE2D *LocalUsedElements, QuadFormula1D &qf1, QuadFormula2D &qf2) |
Protected Member Functions | |
void | InitObject (int n, double *w, double *xi, double *eta, int acc) |
Protected Member Functions inherited from TQuadFormula | |
TQuadFormula () | |
Protected Attributes | |
double * | Xi |
double * | Eta |
Protected Attributes inherited from TQuadFormula | |
int | N_QuadPoints |
double * | Weights |
int | Accuracy |
Friends | |
std::ostream & | operator<< (std::ostream &s, TQuadFormula2D *qf) |
quadrature formula for a 2D integral
TQuadFormula2D::TQuadFormula2D | ( | ) |
constructor
TQuadFormula2D::TQuadFormula2D | ( | int | n_points, |
double * | weights, | ||
double * | xi, | ||
double * | eta, | ||
int | acc | ||
) |
constructor
|
static |
find a quadrature formula for all given elements
|
static |
return a quadrature formula which can be used for the given elements
|
static |
return a quadrature formula which can be used for all given elements
|
virtual |
return coordinates of the formula
Reimplemented from TQuadFormula.
void TQuadFormula2D::GetFormulaData | ( | int & | n_points, |
double *& | weights, | ||
double *& | xi, | ||
double *& | eta | ||
) |
return all data of the quadrature formula
|
protected |
This is a private method for initializing the data structure
|
friend |
print all information of this formula
|
protected |
second coordinate in [0,1]x[0,1] for the formula
|
protected |
first coordinate in [0,1]x[0,1] for the formula