SimiLie
Loading...
Searching...
No Matches
sil::multidomains::Topology< N > Class Template Reference

Runtime adjacency of aligned tensor domains of dimension N. More...

#include <topology.hpp>

Collaboration diagram for sil::multidomains::Topology< N >:
Collaboration graph

Public Member Functions

 Topology (std::size_t domains)
 
std::size_t domain_count () const
 
std::size_t add_boundary (BoundaryDomain boundary)
 
BoundaryDomain const & boundary (std::size_t id) const
 
void connect (Face first, Face second, bool shared_boundary=true, double orientation=1.0, double jump=0.0)
 
void connect_boundary (Face face, std::size_t id)
 
Connection const & connection (Face face) const
 
void validate () const
 

Detailed Description

template<std::size_t N>
class sil::multidomains::Topology< N >

Runtime adjacency of aligned tensor domains of dimension N.

Important
This operator and documentation is fully AI-generated. Physical node IDs are [0, domain_count); add_boundary() returns exterior IDs. Each physical face has one connection, to an entry face or an abstract boundary node. connect() installs both directions of the affine relation u_first = orientation*u_second + jump. validate() rejects missing faces and unused boundary nodes. Domain counts, policies and connections are runtime data. Ordered dimension tags and matching tangential extents remain required; this graph does not interpolate nonconforming interfaces or rotate frames.

Definition at line 119 of file topology.hpp.

Constructor & Destructor Documentation

◆ Topology()

template<std::size_t N>
sil::multidomains::Topology< N >::Topology ( std::size_t domains)
inlineexplicit

Definition at line 133 of file topology.hpp.

Member Function Documentation

◆ domain_count()

template<std::size_t N>
std::size_t sil::multidomains::Topology< N >::domain_count ( ) const
inline

Definition at line 138 of file topology.hpp.

◆ add_boundary()

template<std::size_t N>
std::size_t sil::multidomains::Topology< N >::add_boundary ( BoundaryDomain boundary)
inline

Definition at line 142 of file topology.hpp.

◆ boundary()

template<std::size_t N>
BoundaryDomain const & sil::multidomains::Topology< N >::boundary ( std::size_t id) const
inline

Definition at line 147 of file topology.hpp.

◆ connect()

template<std::size_t N>
void sil::multidomains::Topology< N >::connect ( Face first,
Face second,
bool shared_boundary = true,
double orientation = 1.0,
double jump = 0.0 )
inline

Definition at line 151 of file topology.hpp.

◆ connect_boundary()

template<std::size_t N>
void sil::multidomains::Topology< N >::connect_boundary ( Face face,
std::size_t id )
inline

Definition at line 168 of file topology.hpp.

◆ connection()

template<std::size_t N>
Connection const & sil::multidomains::Topology< N >::connection ( Face face) const
inline

Definition at line 176 of file topology.hpp.

◆ validate()

template<std::size_t N>
void sil::multidomains::Topology< N >::validate ( ) const
inline

Definition at line 182 of file topology.hpp.


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