EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
EBGeometry::Language::DomainObject< T > Class Template Reference

A domain's own object: the regions of its subdomains and their neighbors, with the domain's setup and the model's names translated to it (see Model::domainObject()). More...

#include <EBGeometry_Language.hpp>

Public Member Functions

const Expr< T > & object () const noexcept
 The object, to compile into a tape.
 
const DomainSetup & setup () const noexcept
 The domain's setup, for a tape of object().
 
const RegionNeighborhood< T > & neighborhood () const noexcept
 The regions kept, and the maps of regions and surfaces to the model's.
 
const RegionNames & names () const noexcept
 The model's names for a viewer, for object(): its regions, materials and labels, the domain with the names of its subdomains and surface groups (the only domain), and the colors of the view block.
 

Friends

template<class U >
class Model
 

Detailed Description

template<class T>
class EBGeometry::Language::DomainObject< T >

A domain's own object: the regions of its subdomains and their neighbors, with the domain's setup and the model's names translated to it (see Model::domainObject()).

What a solver of one domain, or a view of it alone, compiles instead of the whole object: Tape<T, UserPrimitives...>(pool, domainObject.object()), then Domain(pool, tape, domainObject.setup()). The subdomains and surface groups keep the model's numbers (ModelDomain::volumes() and the other tables of the domain still apply); the regions, surfaces and labels are the smaller object's, mapped to the model's through neighborhood(). Which regions are kept, and what the bounding boxes have to do with it, is regionNeighborhood()'s rule. Host only.

Template Parameters
TPrecision.

Member Function Documentation

◆ names()

template<class T >
const RegionNames & EBGeometry::Language::DomainObject< T >::names ( ) const
inlinenoexcept

The model's names for a viewer, for object(): its regions, materials and labels, the domain with the names of its subdomains and surface groups (the only domain), and the colors of the view block.

Returns
The names.

◆ neighborhood()

template<class T >
const RegionNeighborhood< T > & EBGeometry::Language::DomainObject< T >::neighborhood ( ) const
inlinenoexcept

The regions kept, and the maps of regions and surfaces to the model's.

Returns
The neighborhood.

◆ object()

template<class T >
const Expr< T > & EBGeometry::Language::DomainObject< T >::object ( ) const
inlinenoexcept

The object, to compile into a tape.

Returns
The expression.

◆ setup()

template<class T >
const DomainSetup & EBGeometry::Language::DomainObject< T >::setup ( ) const
inlinenoexcept

The domain's setup, for a tape of object().

Returns
The setup.

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