Caribou
BaseDomain.h
1 #pragma once
2 
3 #include <Caribou/config.h>
4 
5 namespace caribou::topology {
6 
13  struct BaseDomain {
14 
16  virtual ~BaseDomain() = default;
17 
24  [[nodiscard]] virtual auto canonical_dimension() const -> UNSIGNED_INTEGER_TYPE= 0;
25 
29  [[nodiscard]] virtual auto number_of_nodes_per_elements() const -> UNSIGNED_INTEGER_TYPE= 0;
30 
34  [[nodiscard]] virtual auto number_of_elements() const -> UNSIGNED_INTEGER_TYPE= 0;
35  };
36 }
caribou::topology::BaseDomain::number_of_elements
virtual auto number_of_elements() const -> UNSIGNED_INTEGER_TYPE=0
Get the number of elements contained in the domain.
caribou::topology::BaseDomain::number_of_nodes_per_elements
virtual auto number_of_nodes_per_elements() const -> UNSIGNED_INTEGER_TYPE=0
Get the number of nodes an element of this domain has.
caribou::topology::BaseDomain::~BaseDomain
virtual ~BaseDomain()=default
Destructor.
caribou::topology::BaseDomain::canonical_dimension
virtual auto canonical_dimension() const -> UNSIGNED_INTEGER_TYPE=0
Get the canonical dimension of the element contained in this domain, ie, the number of coordinates of...
caribou::topology::BaseDomain
A domain is subspace of a mesh containing a set of points and the topological relation between them.
Definition: BaseDomain.h:13