karniadakis.hh
Karniadakis(const Karniadakis< type, mode > &arg)
Copy constructor.
Orders(const int p0, const int P, const int p1=0, const int p2=0)
Constructor.
Karniadakis(const int P, const Real *xP, const int NxP, const int Q=0, const int R=0, const bool cache=true)
Constructor.
bool operator()(const concepts::Orders< number > &x, const concepts::Orders< number > &y) const
Definition: karniadakis.hh:109
concepts::Real arg(const concepts::Point< concepts::Real, 2 > &p)
Returns the phase angle of a real 2D vector.
Class combining polynomial order and number of quadrature points.
Definition: karniadakis.hh:40
size_t operator()(const concepts::Orders< number > &o) const
Definition: karniadakis.hh:101
Karniadakis(const int P, int NxP, const Real *values, const int Q=0, const int R=0)
Value copy constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
std::ostream & operator<<(std::ostream &os, const Level< dim > &c)
const Real * values() const
Returns the values of the shape functions.
Definition: shapefunction.hh:40
Definition: operations.hh:76
static std::unordered_map< Orders< type >, Real *, std::hash< Orders< type > >, std::OrdersEqual< type > > principal_H
Hash of the already computed values of the principal function of this type.
Definition: karniadakis.hh:219
~Karniadakis()
Orders< type > orders_
Combines polynomial degrees and number of quadrature points.
Definition: karniadakis.hh:211
bool cache_
Cache the results of the computations in principal_H if set to true.
Definition: karniadakis.hh:222
Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin.
Definition: karniadakis.hh:163