A domain of a model: its name, its setup, and the names and properties of its subdomains and surface groups.
More...
#include <EBGeometry_Language.hpp>
|
| const std::string & | name () const noexcept |
| | The name.
|
| |
| const DomainSetup & | setup () const noexcept |
| | How the domain is made.
|
| |
| uint32_t | getNumSubdomains () const noexcept |
| | How many subdomains.
|
| |
| const std::string & | subdomainName (uint32_t a_subdomain) const |
| | A subdomain's name.
|
| |
| uint32_t | findSubdomain (std::string_view a_name) const noexcept |
| | A subdomain by name.
|
| |
| const Properties & | subdomainProperties (uint32_t a_subdomain) const |
| | A subdomain's properties: its own over its regions' material's.
|
| |
| uint32_t | getNumSurfaceGroups () const noexcept |
| | How many surface groups.
|
| |
| const std::string & | surfaceGroupName (uint32_t a_group) const |
| | A surface group's name.
|
| |
| uint32_t | findSurfaceGroup (std::string_view a_name) const noexcept |
| | A surface group by name.
|
| |
| const Properties & | surfaceGroupProperties (uint32_t a_group) const |
| | A surface group's properties.
|
| |
| template<class S , class F > |
| Table< S > | volumes (Pool &a_pool, F &&a_fill) const |
| | A table with one row per subdomain, each filled from the subdomain's properties: what a kernel indexes with Domain::subdomainAt() (a region in no subdomain is Domain::Excluded, which has no row).
|
| |
| template<class S , class F > |
| Table< S > | surfaces (Pool &a_pool, F &&a_fill) const |
| | A table with one row per surface group, each filled from the group's properties: what a kernel indexes with Domain::surfaceGroupOf().
|
| |
| const Span & | span () const noexcept |
| | Where the domain is written.
|
| |
| const Span & | subdomainSpan (uint32_t a_subdomain) const |
| | Where a subdomain is written.
|
| |
| const Span & | surfaceGroupSpan (uint32_t a_group) const |
| | Where a surface group is written.
|
| |
|
|
template<class T > |
| class | LanguageDetail::Reader |
| |
A domain of a model: its name, its setup, and the names and properties of its subdomains and surface groups.
A Domain is built from the setup for the model's tape: Domain(pool, tape, modelDomain.setup()). Its numbers are the setup's: subdomain i is label i, surface group g is group g.
◆ findSubdomain()
| uint32_t EBGeometry::Language::ModelDomain::findSubdomain |
( |
std::string_view |
a_name | ) |
const |
|
noexcept |
◆ findSurfaceGroup()
| uint32_t EBGeometry::Language::ModelDomain::findSurfaceGroup |
( |
std::string_view |
a_name | ) |
const |
|
noexcept |
◆ getNumSubdomains()
| uint32_t EBGeometry::Language::ModelDomain::getNumSubdomains |
( |
| ) |
const |
|
inlinenoexcept |
How many subdomains.
- Returns
- The count.
◆ getNumSurfaceGroups()
| uint32_t EBGeometry::Language::ModelDomain::getNumSurfaceGroups |
( |
| ) |
const |
|
inlinenoexcept |
How many surface groups.
- Returns
- The count.
◆ name()
| const std::string & EBGeometry::Language::ModelDomain::name |
( |
| ) |
const |
|
inlinenoexcept |
◆ setup()
| const DomainSetup & EBGeometry::Language::ModelDomain::setup |
( |
| ) |
const |
|
inlinenoexcept |
How the domain is made.
- Returns
- The setup.
◆ span()
| const Span & EBGeometry::Language::ModelDomain::span |
( |
| ) |
const |
|
inlinenoexcept |
Where the domain is written.
- Returns
- The span of its name.
◆ subdomainName()
| const std::string & EBGeometry::Language::ModelDomain::subdomainName |
( |
uint32_t |
a_subdomain | ) |
const |
A subdomain's name.
- Parameters
-
| [in] | a_subdomain | The subdomain. |
- Returns
- The name.
◆ subdomainProperties()
| const Properties & EBGeometry::Language::ModelDomain::subdomainProperties |
( |
uint32_t |
a_subdomain | ) |
const |
A subdomain's properties: its own over its regions' material's.
- Parameters
-
| [in] | a_subdomain | The subdomain. |
- Returns
- The properties.
◆ subdomainSpan()
| const Span & EBGeometry::Language::ModelDomain::subdomainSpan |
( |
uint32_t |
a_subdomain | ) |
const |
Where a subdomain is written.
- Parameters
-
| [in] | a_subdomain | The subdomain. |
- Returns
- The span of its line.
◆ surfaceGroupName()
| const std::string & EBGeometry::Language::ModelDomain::surfaceGroupName |
( |
uint32_t |
a_group | ) |
const |
A surface group's name.
- Parameters
-
- Returns
- The name.
◆ surfaceGroupProperties()
| const Properties & EBGeometry::Language::ModelDomain::surfaceGroupProperties |
( |
uint32_t |
a_group | ) |
const |
A surface group's properties.
- Parameters
-
- Returns
- The properties.
◆ surfaceGroupSpan()
| const Span & EBGeometry::Language::ModelDomain::surfaceGroupSpan |
( |
uint32_t |
a_group | ) |
const |
Where a surface group is written.
- Parameters
-
- Returns
- The span of its line.
◆ surfaces()
template<class S , class F >
| Table< S > EBGeometry::Language::ModelDomain::surfaces |
( |
Pool & |
a_pool, |
|
|
F && |
a_fill |
|
) |
| const |
|
inline |
A table with one row per surface group, each filled from the group's properties: what a kernel indexes with Domain::surfaceGroupOf().
- Template Parameters
-
| S | The row type: trivially copyable. |
| F | A function S(const Properties&). |
- Parameters
-
| [in,out] | a_pool | The pool the table is put in. |
| [in] | a_fill | The function filling a row. |
- Returns
- The table.
◆ volumes()
template<class S , class F >
| Table< S > EBGeometry::Language::ModelDomain::volumes |
( |
Pool & |
a_pool, |
|
|
F && |
a_fill |
|
) |
| const |
|
inline |
A table with one row per subdomain, each filled from the subdomain's properties: what a kernel indexes with Domain::subdomainAt() (a region in no subdomain is Domain::Excluded, which has no row).
- Template Parameters
-
| S | The row type: trivially copyable. |
| F | A function S(const Properties&). |
- Parameters
-
| [in,out] | a_pool | The pool the table is put in. |
| [in] | a_fill | The function filling a row. |
- Returns
- The table.
The documentation for this class was generated from the following file: