Class xlifepp::SpSpace#

class SpSpace : public xlifepp::Space#

Inheritence diagram for xlifepp::SpSpace:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::SpSpace" tooltip="xlifepp::SpSpace" fillcolor="#BFBFBF"] "2" [label="xlifepp::Space" tooltip="xlifepp::Space"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::SpSpace:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "26" [label="xlifepp::Collection< string_t >" tooltip="xlifepp::Collection< string_t >"] "19" [label="xlifepp::Matrix< real_t >" tooltip="xlifepp::Matrix< real_t >"] "23" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "34" [label="xlifepp::Vector< xlifepp::Vector< real_t > >" tooltip="xlifepp::Vector< xlifepp::Vector< real_t > >"] "39" [label="std::list< std::pair< number_t, real_t > >" tooltip="std::list< std::pair< number_t, real_t > >"] "15" [label="std::map< number_t, std::vector< number_t > >" tooltip="std::map< number_t, std::vector< number_t > >"] "13" [label="std::map< number_t, xlifepp::Geometry * >" tooltip="std::map< number_t, xlifepp::Geometry * >"] "38" [label="std::map< string_t, number_t >" tooltip="std::map< string_t, number_t >"] "40" [label="std::list< T >" tooltip="std::list< T >"] "14" [label="std::map< K, T >" tooltip="std::map< K, T >"] "10" [label="std::vector< T >" tooltip="std::vector< T >"] "29" [label="std::vector< T >" tooltip="std::vector< T >"] "22" [label="std::vector< K >" tooltip="std::vector< K >"] "9" [label="std::vector< RealPair >" tooltip="std::vector< RealPair >"] "45" [label="std::vector< const xlifepp::GeomDomain * >" tooltip="std::vector< const xlifepp::GeomDomain * >"] "25" [label="std::vector< const xlifepp::Transformation * >" tooltip="std::vector< const xlifepp::Transformation * >"] "30" [label="std::vector< number_t >" tooltip="std::vector< number_t >"] "20" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "44" [label="std::vector< std::vector< GeoNumPair > >" tooltip="std::vector< std::vector< GeoNumPair > >"] "16" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "27" [label="std::vector< string_t >" tooltip="std::vector< string_t >"] "43" [label="std::vector< xlifepp::GeomDomain * >" tooltip="std::vector< xlifepp::GeomDomain * >"] "42" [label="std::vector< xlifepp::GeomElement * >" tooltip="std::vector< xlifepp::GeomElement * >"] "37" [label="std::vector< xlifepp::Parameter * >" tooltip="std::vector< xlifepp::Parameter * >"] "12" [label="std::vector< xlifepp::Point >" tooltip="std::vector< xlifepp::Point >"] "48" [label="std::vector< xlifepp::SpDof >" tooltip="std::vector< xlifepp::SpDof >"] "46" [label="std::vector< xlifepp::Space * >" tooltip="std::vector< xlifepp::Space * >"] "31" [label="std::vector< xlifepp::Transformation * >" tooltip="std::vector< xlifepp::Transformation * >"] "35" [label="std::vector< xlifepp::Vector< real_t > >" tooltip="std::vector< xlifepp::Vector< real_t > >"] "8" [label="xlifepp::BoundingBox" tooltip="xlifepp::BoundingBox"] "28" [label="xlifepp::Collection< T >" tooltip="xlifepp::Collection< T >"] "5" [label="xlifepp::DomainInfo" tooltip="xlifepp::DomainInfo"] "17" [label="xlifepp::ExtrusionData" tooltip="xlifepp::ExtrusionData"] "41" [label="xlifepp::GeoNode" tooltip="xlifepp::GeoNode"] "4" [label="xlifepp::GeomDomain" tooltip="xlifepp::GeomDomain"] "7" [label="xlifepp::Geometry" tooltip="xlifepp::Geometry"] "21" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "6" [label="xlifepp::Mesh" tooltip="xlifepp::Mesh"] "11" [label="xlifepp::MinimalBox" tooltip="xlifepp::MinimalBox"] "36" [label="xlifepp::Parameters" tooltip="xlifepp::Parameters"] "33" [label="xlifepp::Parametrization" tooltip="xlifepp::Parametrization"] "32" [label="xlifepp::Point" tooltip="xlifepp::Point"] "1" [label="xlifepp::SpSpace" tooltip="xlifepp::SpSpace" fillcolor="#BFBFBF"] "2" [label="xlifepp::Space" tooltip="xlifepp::Space"] "3" [label="xlifepp::SpaceInfo" tooltip="xlifepp::SpaceInfo"] "47" [label="xlifepp::SpectralBasis" tooltip="xlifepp::SpectralBasis"] "18" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "24" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "26" -> "27" [dir=forward tooltip="public-inheritance"] "26" -> "28" [dir=forward tooltip="template-instance"] "19" -> "20" [dir=forward tooltip="public-inheritance"] "19" -> "21" [dir=forward tooltip="template-instance"] "23" -> "20" [dir=forward tooltip="public-inheritance"] "23" -> "24" [dir=forward tooltip="template-instance"] "34" -> "35" [dir=forward tooltip="public-inheritance"] "34" -> "24" [dir=forward tooltip="template-instance"] "39" -> "40" [dir=forward tooltip="template-instance"] "15" -> "14" [dir=forward tooltip="template-instance"] "13" -> "14" [dir=forward tooltip="template-instance"] "38" -> "14" [dir=forward tooltip="template-instance"] "22" -> "10" [dir=forward tooltip="template-instance"] "9" -> "10" [dir=forward tooltip="template-instance"] "45" -> "10" [dir=forward tooltip="template-instance"] "25" -> "10" [dir=forward tooltip="template-instance"] "30" -> "10" [dir=forward tooltip="template-instance"] "20" -> "10" [dir=forward tooltip="template-instance"] "44" -> "10" [dir=forward tooltip="template-instance"] "16" -> "10" [dir=forward tooltip="template-instance"] "27" -> "10" [dir=forward tooltip="template-instance"] "43" -> "10" [dir=forward tooltip="template-instance"] "42" -> "10" [dir=forward tooltip="template-instance"] "37" -> "10" [dir=forward tooltip="template-instance"] "12" -> "10" [dir=forward tooltip="template-instance"] "48" -> "10" [dir=forward tooltip="template-instance"] "46" -> "10" [dir=forward tooltip="template-instance"] "31" -> "10" [dir=forward tooltip="template-instance"] "35" -> "10" [dir=forward tooltip="template-instance"] "8" -> "9" [dir=forward tooltip="usage"] "28" -> "29" [dir=forward tooltip="public-inheritance"] "5" -> "6" [dir=forward tooltip="usage"] "17" -> "18" [dir=forward tooltip="usage"] "17" -> "26" [dir=forward tooltip="usage"] "17" -> "30" [dir=forward tooltip="usage"] "17" -> "20" [dir=forward tooltip="usage"] "17" -> "23" [dir=forward tooltip="usage"] "17" -> "31" [dir=forward tooltip="usage"] "17" -> "32" [dir=forward tooltip="usage"] "41" -> "41" [dir=forward tooltip="usage"] "41" -> "7" [dir=forward tooltip="usage"] "4" -> "5" [dir=forward tooltip="usage"] "4" -> "4" [dir=forward tooltip="usage"] "4" -> "7" [dir=forward tooltip="usage"] "4" -> "45" [dir=forward tooltip="usage"] "7" -> "8" [dir=forward tooltip="usage"] "7" -> "11" [dir=forward tooltip="usage"] "7" -> "13" [dir=forward tooltip="usage"] "7" -> "15" [dir=forward tooltip="usage"] "7" -> "16" [dir=forward tooltip="usage"] "7" -> "17" [dir=forward tooltip="usage"] "7" -> "33" [dir=forward tooltip="usage"] "7" -> "7" [dir=forward tooltip="usage"] "7" -> "41" [dir=forward tooltip="usage"] "21" -> "22" [dir=forward tooltip="public-inheritance"] "6" -> "7" [dir=forward tooltip="usage"] "6" -> "12" [dir=forward tooltip="usage"] "6" -> "42" [dir=forward tooltip="usage"] "6" -> "43" [dir=forward tooltip="usage"] "6" -> "30" [dir=forward tooltip="usage"] "6" -> "44" [dir=forward tooltip="usage"] "6" -> "6" [dir=forward tooltip="usage"] "11" -> "12" [dir=forward tooltip="usage"] "36" -> "37" [dir=forward tooltip="usage"] "36" -> "38" [dir=forward tooltip="usage"] "33" -> "7" [dir=forward tooltip="usage"] "33" -> "23" [dir=forward tooltip="usage"] "33" -> "34" [dir=forward tooltip="usage"] "33" -> "6" [dir=forward tooltip="usage"] "33" -> "36" [dir=forward tooltip="usage"] "33" -> "39" [dir=forward tooltip="usage"] "32" -> "20" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "47" [dir=forward tooltip="usage"] "1" -> "48" [dir=forward tooltip="usage"] "2" -> "2" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "46" [dir=forward tooltip="usage"] "3" -> "4" [dir=forward tooltip="usage"] "47" -> "4" [dir=forward tooltip="usage"] "18" -> "19" [dir=forward tooltip="usage"] "18" -> "23" [dir=forward tooltip="usage"] "18" -> "25" [dir=forward tooltip="usage"] "24" -> "22" [dir=forward tooltip="public-inheritance"] }

defines general data of a space defined by a set of spectral functions SpSpace class is not exposed to end users

Public Functions

SpSpace(const string_t&, const GeomDomain&, number_t, dimen_t, SpectralBasis*)#

constructor with reference on domain

SpSpace(const string_t&, const GeomDomain*, number_t, dimen_t, SpectralBasis*)#

constructor with pointer on domain

~SpSpace()#

destructor

inline virtual dimen_t dimFun() const#

dof dimension (shape function dim)

inline virtual number_t dimSpace() const#

true space dimension

inline virtual const Dof &dof(number_t n) const#

return n-th spdof as dof (n=1,…)

inline virtual number_t dofId(number_t n) const#

return the DoF id of n-th space DoF (n=1,…)

virtual std::vector<number_t> dofIds() const#

return the DoF ids on space

inline virtual const Element *element_p(GeomElement *gelt) const#

acces to element associated to a geomelement

inline virtual const Element *element_p(number_t k) const#

access to k-th element (pointer) for FESpace and FESubspace only

inline virtual const std::vector<number_t> &elementDofs(number_t k) const#

access to dofs ranks (local numbering) of k-th element for FESpace and FESubspace only

inline virtual std::vector<number_t> elementParentDofs(number_t k) const#

access to dofs ranks (parent numbering) of k-th element for FESpace and FESubspace only

virtual bool include(const Space*) const#

return true if space is included in current space

virtual bool isFE() const#

true if FE space or FeSubspace

virtual bool isSpectral() const#

true if spectral space

inline virtual number_t nbDofs() const#

number of dofs (a dof may be a vector dof)

inline virtual number_t nbOfElements() const#

number of elements for FESpace and FESubspace only

inline virtual void print(PrintStream &os) const#

print utility

virtual void print(std::ostream&) const#

print utility

inline virtual const std::set<RefElement*> &refElements() const#

access to set of pointer to RefElement (refElts) involved in FESpace

inline virtual const Space *rootSpace() const#

access to root space pointer

virtual void shiftDofs(number_t n)#

shift dofs numbering from n (special utility for SpSpace)

inline SpectralBasis *spectralBasis() const#

returns the spectral basis

template<typename T>
Vector<T> &spectralFun(const Point&, Vector<T>&) const#

compute the values of all functions at a point in case of spectral space

template<typename T>
T &spectralFun(number_t, const Point&, T&) const#

compute the value of the n-th function at a point in case of spectral space

inline virtual const SpSpace *spSpace() const#

downcast function

virtual StrucType strucType() const#

return structure type of basis function (scalar or vector)

virtual ValueType valueType() const#

return value type of basis function (real or complex)

Public Members

std::vector<SpDof> dofs#

list of global degrees of freedom