HM3
Hierarchical Multi-physics Multi-scale Methods
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
hm3::geometry::square< Nd > Struct Template Reference

Description

template<int_t Nd>
struct hm3::geometry::square< Nd >

Square.

+ Inheritance diagram for hm3::geometry::square< Nd >:

Public Member Functions

constexpr square (point_t const &x_min, point_t const &x_max)
 Square from x_min and x_max.
 
constexpr square (point_t x_center, num_t length)
 Square from x_center and x_length.
 

Static Public Member Functions

static constexpr auto no_edges (int_t m) noexcept-> int_t
 Number of m-dimensional edges.
 
static constexpr auto no_corners () noexcept-> sint_t
 Number of corners (one-dimensional edges)