NiHu  2.0
NiHu::tria_domain Class Reference

a 2D triangle domain More...

#include <lib_domain.hpp>

Static Public Member Functions

static const corners_tget_corners_impl ()
 return domain corners
 
static const edges_tget_edges_impl ()
 return domain edges
 
static const xi_tget_center_impl ()
 return domain center
 
static xi_t constrain_inside_impl (xi_t const &xi)
 
- Static Public Member Functions inherited from NiHu::domain_base< tria_domain >
static const xi_tget_center ()
 return domain center
 
static const corners_tget_corners ()
 return begin address of domain corners' array
 
static const xi_tget_corner (unsigned idx)
 return specified corner of domain
 
static const edges_tget_edges ()
 return edges of the domain
 
static const domain_edge_tget_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
 
static xi_t constrain_inside (xi_t const &xi)
 

Additional Inherited Members

- Public Types inherited from NiHu::domain_base< tria_domain >
enum  
 
typedef tria_domain type
 self-returning
 
typedef domain_traits::space_type< tria_domain >::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 std::array< xi_t, num_cornerscorners_t
 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
 

Detailed Description

a 2D triangle domain

Definition at line 101 of file lib_domain.hpp.


The documentation for this class was generated from the following files: