MoReFEM
|
This class list the quadrature rule to use for each topology. More...
#include <QuadratureRulePerTopology.hpp>
Public Types | |
using | self = QuadratureRulePerTopology |
Alias to the type of the class. | |
using | const_unique_ptr = std::unique_ptr<const self> |
Alias to unique pointer. | |
using | storage_type = std::map<TopologyNS::Type, QuadratureRule::const_shared_ptr> |
Convenient alias. | |
Public Member Functions | |
void | Print (std::ostream &stream) const noexcept |
Print the list of quadrature rules in storage. | |
const storage_type & | GetRulePerTopology () const noexcept |
Access to the list of quadrature rule to use for each topology. | |
const QuadratureRule & | GetRule (TopologyNS::Type topology) const |
Special members. | |
QuadratureRulePerTopology (storage_type &&quadrature_rule_per_topology) | |
Constructor. | |
QuadratureRulePerTopology (std::size_t degree_of_exactness, std::size_t shape_function_order) | |
Constructor to produce default choices for each topology. | |
~QuadratureRulePerTopology ()=default | |
Destructor. | |
QuadratureRulePerTopology (const QuadratureRulePerTopology &rhs)=delete | |
The copy constructor. | |
QuadratureRulePerTopology (QuadratureRulePerTopology &&rhs)=delete | |
The move constructor. | |
QuadratureRulePerTopology & | operator= (const QuadratureRulePerTopology &rhs)=delete |
The (copy) operator=. | |
QuadratureRulePerTopology & | operator= (QuadratureRulePerTopology &&rhs)=delete |
The (move) operator=. | |
Private Attributes | |
const storage_type | quadrature_rule_per_topology_ |
Quadrature rule to use for each topology. | |
This class list the quadrature rule to use for each topology.
It is intended to be used either in FEltSpace level or in GlobalVariationalOperator level (the latter supersedes the former if specified; if not the operator takes the set of rules defines within its FEltSpace).
Alias to the type of the class.
|
explicit |
Constructor.
[in] | quadrature_rule_per_topology | Quadrature rule to use for each topology. |
|
explicit |
Constructor to produce default choices for each topology.
|
delete |
The copy constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The move constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The (copy) operator=.
[in] | rhs | The object from which the affectation occurs. |
|
delete |
The (move) operator=.
[in] | rhs | The object from which the affectation occurs. |
|
noexcept |
Print the list of quadrature rules in storage.
This method is mostly there for dev purposes.
[in,out] | stream | Stream upon which object information are written. |
const QuadratureRule & MoReFEM::QuadratureRulePerTopology::GetRule | ( | TopologyNS::Type | topology | ) | const |
Return the rule to use with a given topology.
[in] | topology | Topology for which the QuadratureRule is sought. |