Class xlifepp::Extension#

class Extension#

Public Functions

inline Extension(const GeomDomain &sd, const GeomDomain &d, VariableName v = _x, number_t o = 1)#

extension constructor with domain

inline Extension(const GeomDomain &sd, VariableName v = _x, number_t o = 1)#

extension constructor with no domain

void buildDomToSide() const#

build the map domToSide

create the map: extended domain element -> list of dofs on sideDomain (local number in domain element)

std::vector<real_t> grad(const Point&) const#

compute gradient of extension function at a point

std::vector<real_t> grad(const Point&, const GeomElement&) const#

compute gradient of extension function at a point knowing element

OperatorOnFunction &operator()(const Function&) const#

apply Extension to Function

OperatorOnKernel &operator()(const Kernel&) const#

apply Extension to Kernel

real_t operator()(const Point&) const#

compute extension function at a point

real_t operator()(const Point&, const GeomElement&) const#

compute extension function at a point knowing element

OperatorOnFunction &operator()(OperatorOnFunction&) const#

apply Extension to OperatorOnFunction

OperatorOnKernel &operator()(OperatorOnKernel&) const#

apply Extension to OperatorOnKernel

Public Members

mutable std::map<GeomElement*, std::set<number_t>> domToSide#

map: domain element -> list of dofs on sideDomain (local number)

number_t order_#

order of Lagrange FE used in extension (1 by default)

mutable VariableName var_#

variable (_x or _y) used in Kernel computation