|
Nektar++
|
A simple factory for Xmap objects that is based on the element type, the basis and quadrature selection. More...
#include <XmapFactory.hpp>
Classes | |
| struct | KeyEqual |
| struct | KeyHash |
| Hash for key_t. More... | |
Public Member Functions | |
| XmapFactory ()=default | |
| StdRegions::StdExpansionSharedPtr | CreateInstance (const key_t &basis) |
| Returns (and creates, if necessary) a standard expansion corresponding to. | |
Private Types | |
| using | key_t = std::array< LibUtilities::BasisKey, dim > |
| Key for the Xmap: an array of dimension dim which contains the basis keys for each coordinate direction. | |
Private Member Functions | |
| template<int d, typename std::enable_if< d==1, int >::type = 0> | |
| std::shared_ptr< StdExp > | CreateStdExp (const key_t &args) |
| template<int d, typename std::enable_if< d==2, int >::type = 0> | |
| std::shared_ptr< StdExp > | CreateStdExp (const key_t &args) |
| template<int d, typename std::enable_if< d==3, int >::type = 0> | |
| std::shared_ptr< StdExp > | CreateStdExp (const key_t &args) |
Private Attributes | |
| std::unordered_map< key_t, StdRegions::StdExpansionSharedPtr, KeyHash, KeyEqual > | m_xmaps |
| Storage for created xmap objects. | |
A simple factory for Xmap objects that is based on the element type, the basis and quadrature selection.
Definition at line 50 of file XmapFactory.hpp.
|
private |
Key for the Xmap: an array of dimension dim which contains the basis keys for each coordinate direction.
Definition at line 54 of file XmapFactory.hpp.
|
default |
|
inline |
Returns (and creates, if necessary) a standard expansion corresponding to.
| StdExp | and the supplied basis. |
Definition at line 118 of file XmapFactory.hpp.
References Nektar::SpatialDomains::XmapFactory< StdExp, dim >::m_xmaps.
|
inlineprivate |
Definition at line 94 of file XmapFactory.hpp.
|
inlineprivate |
Definition at line 100 of file XmapFactory.hpp.
|
inlineprivate |
Definition at line 106 of file XmapFactory.hpp.
|
private |
Storage for created xmap objects.
Definition at line 137 of file XmapFactory.hpp.
Referenced by Nektar::SpatialDomains::XmapFactory< StdExp, dim >::CreateInstance().