NiHu
2.0
|
Polygonal subset of the \( \xi \) space. All elements are defined on a domain. More...
#include <domain.hpp>
Public Types | |
enum | { num_corners = domain_traits::num_corners<Derived>::value, num_edges = domain_traits::num_edges<Derived>::value, id = domain_traits::id<Derived>::value, dimension = space_t::dimension } |
typedef Derived | type |
self-returning | |
typedef domain_traits::space_type< Derived >::type | space_t |
the space type as nested typedef | |
typedef space_t::scalar_t | scalar_t |
coordinate scalar type | |
typedef space_t::location_t | xi_t |
coordinate vector type | |
typedef xi_t | corners_t[num_corners] |
type of corners array | |
typedef unsigned | domain_edge_t[2] |
type of a domain edge | |
typedef domain_edge_t | edges_t[num_edges] |
type of edges array | |
Static Public Member Functions | |
static const xi_t & | get_center () |
return domain center | |
static const corners_t & | get_corners () |
return begin address of domain corners' array | |
static const xi_t & | get_corner (unsigned idx) |
return specified corner of domain | |
static const edges_t & | get_edges () |
return edges of the domain | |
static const domain_edge_t & | get_edge (unsigned idx) |
return specified edge of domain | |
static constexpr scalar_t | get_volume () |
return domain volume | |
static const std::string & | get_name () |
return domain name | |
static constexpr unsigned | get_id () |
return domain id | |
Polygonal subset of the \( \xi \) space. All elements are defined on a domain.
Definition at line 70 of file domain.hpp.
anonymous enum |
Enumerator | |
---|---|
num_corners | number of domain corners |
num_edges | number of domain edges |
id | domain id as nested enum |
dimension | space dimensions |
Definition at line 77 of file domain.hpp.