Class xlifepp::Interpolation#

class Interpolation#

Collaboration diagram for xlifepp::Interpolation:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< xlifepp::Interpolation * >" tooltip="std::vector< xlifepp::Interpolation * >"] "1" [label="xlifepp::Interpolation" tooltip="xlifepp::Interpolation" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="usage"] }

Public Functions

Interpolation(FEType typ, FESubType sub, number_t num, SobolevType spa)#

main constructor

~Interpolation()#

destructor

void badType() const#

Error handlers.

void build()#

called by constructor

string_t conformSpaceName() const#

return the conforming space

conformSpaceName return space conformity in ad’hoc Space ( L2, H1, Hdiv, Hcurl, …)

bool isContinuous() const#

returns continuity of interpolation

bool isScalar() const#

true if DoFs are scalar

isScalar returns true when all D_O_Fs are scalar, otherwise false true for instance for Lagrange or Hermite interpolation false for instance for Nedelec or Raviart-Thomas interpolation

number_t maximumDegree() const#

returns maximum polynomial degree involved in interpolation space

maximumDegree return maximum polynomial degree involved in FE interpolation

bool operator==(const Interpolation &i) const#

returns true if *this==i

comparison operator between 2 Interpolation objects

inline void print(PrintStream &os) const#

print utility

void print(std::ostream&) const#

print utility

Public Members

SobolevType conformSpace#

conforming space type (L2, H1, Hdiv, Hcurl, H2)

bool isoparametric#

isoparametric flag

string_t name#

one among “Lagrange”, “Hermite”, “Nedelec”, “Crouzeix-Raviart”, “Raviart-Thomas”, …

number_t numtype#

conventional number defining the element interpolation (polynomial degree in case of Lagrange interpolation)

string_t shortname#

short name (see build)

string_t subname#

interpolation subname

FESubType subtype#

interpolation subtype (standard, GaussLobatto, firstFamily, …)

FEType type#

interpolation type (Lagrange, Hermite, CrouzeixRaviart, Nedelec, RaviartThomas, …)

Public Static Functions

static void clearGlobalVector()#

delete all Interpolation objects

static void printAllInterpolations(std::ostream&)#

print the list of Interpolation objects in memory

Public Static Attributes

static std::vector<Interpolation*> theInterpolations#

unique list of run-time Interpolation pointers

unique list of FE interpolations

Friends

friend std::ostream &operator<<(std::ostream&, const Interpolation&)#

print operator