KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds > Struct Template Reference

Allows to specify parts of the inner boundary. Inner boundaries are characterized by a change of the material id. More...

#include <tools.hh>

Detailed Description

template<class IdVector, bool skipSpecifiedIds = false>
struct Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds >

Allows to specify parts of the inner boundary. Inner boundaries are characterized by a change of the material id.

Definition at line 385 of file tools.hh.

Public Member Functions

 SpecifyInnerBoundary (std::vector< std::pair< int, int > > specifiedInterfaces)
 
void addInterface (std::pair< int, int > ids)
 Add interface specified by two material ids. More...
 
void addInterface (int first, int second)
 Add interface specified by two material ids. More...
 
bool ignoreInnerBoundary (int tissue, int tissueNeighbour) const
 Check if interface specified by two material ids should be ignored. More...
 

Constructor & Destructor Documentation

◆ SpecifyInnerBoundary()

template<class IdVector , bool skipSpecifiedIds = false>
Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds >::SpecifyInnerBoundary ( std::vector< std::pair< int, int > >  specifiedInterfaces)
inline

Definition at line 391 of file tools.hh.

Member Function Documentation

◆ addInterface() [1/2]

template<class IdVector , bool skipSpecifiedIds = false>
void Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds >::addInterface ( int  first,
int  second 
)
inline

Add interface specified by two material ids.

Definition at line 403 of file tools.hh.

◆ addInterface() [2/2]

template<class IdVector , bool skipSpecifiedIds = false>
void Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds >::addInterface ( std::pair< int, int >  ids)
inline

◆ ignoreInnerBoundary()

template<class IdVector , bool skipSpecifiedIds = false>
bool Kaskade::Policy::SpecifyInnerBoundary< IdVector, skipSpecifiedIds >::ignoreInnerBoundary ( int  tissue,
int  tissueNeighbour 
) const
inline

Check if interface specified by two material ids should be ignored.

Definition at line 408 of file tools.hh.


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