25 #ifndef _GEMA_LOBATTO_INT_TABLES_H_ 26 #define _GEMA_LOBATTO_INT_TABLES_H_ 43 if(rule < 1 || rule > 11)
45 assert(!_lineTable[rule-1].isEmpty());
46 return &_lineTable[rule-1];
54 static bool initTables();
57 static void initLineTable();
59 static double jacobi(
double eps,
int p,
double alpha,
double beta);
60 static double dJacobi(
double eps,
int order,
double alpha,
double beta);
61 static double rootChevyshev(
int indexRoot,
int orderPol);
62 static void rootJacobi(
int order,
double alpha,
double beta,
GmVector& zeros);
63 static void quadPoints(
int Q,
GmMatrix & Quad);
Declaration of usefull configuration definitions for the Core library.
Declaration of the GmMatrix class.
Declaration of the GmVector class.
#define GMC_API_EXPORT
Macro for controling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_LI...
Definition: gmCoreConfig.h:35
static int lineRuleDegree(int rule)
Returns the integration degree for the given line Lobatto rule (The polynomial degree for which this ...
Definition: gmLobattoIntegrationTables.h:52
static const QVector< QPair< double, double > > * lineRuleTable(int rule)
Returns the table storing (position, weight) pairs for the given line Lobatto rule....
Definition: gmLobattoIntegrationTables.h:41
arma::vec GmVector
The basic type for a GeMA vector object. Currently based on an Armadillo vector.
Definition: gmVector.h:34
A class storing tables with (position, weight) pairs for line Lobatto integration rules.
Definition: gmLobattoIntegrationTables.h:35
arma::mat GmMatrix
The basic type for a GeMA matrix object. Currently based on an Armadillo matrix.
Definition: gmMatrix.h:38