walberla::mesh::ColorToBoundaryMapper< MeshType > Class Template Reference

#include <ColorToBoundaryMapper.h>

Public Types

typedef MeshType::Color Color
 

Public Member Functions

 ColorToBoundaryMapper (const BoundaryInfo &defaultBoundaryInfo)
 
void set (const Color &c, const BoundaryInfo &bi)
 
const BoundaryInfoget (const Color &c) const
 
shared_ptr< BoundaryLocation< MeshType > > addBoundaryInfoToMesh (MeshType &mesh) const
 

Private Attributes

BoundaryInfo defaultBoundaryInfo_
 
std::map< Color, BoundaryInfoboundaryInfoMap_
 

Member Typedef Documentation

◆ Color

template<typename MeshType >
typedef MeshType::Color walberla::mesh::ColorToBoundaryMapper< MeshType >::Color

Constructor & Destructor Documentation

◆ ColorToBoundaryMapper()

template<typename MeshType >
walberla::mesh::ColorToBoundaryMapper< MeshType >::ColorToBoundaryMapper ( const BoundaryInfo defaultBoundaryInfo)
inline

Member Function Documentation

◆ addBoundaryInfoToMesh()

template<typename MeshType >
shared_ptr< BoundaryLocation< MeshType > > walberla::mesh::ColorToBoundaryMapper< MeshType >::addBoundaryInfoToMesh ( MeshType mesh) const
inline

◆ get()

template<typename MeshType >
const BoundaryInfo& walberla::mesh::ColorToBoundaryMapper< MeshType >::get ( const Color c) const
inline

◆ set()

template<typename MeshType >
void walberla::mesh::ColorToBoundaryMapper< MeshType >::set ( const Color c,
const BoundaryInfo bi 
)
inline

Member Data Documentation

◆ boundaryInfoMap_

template<typename MeshType >
std::map< Color, BoundaryInfo > walberla::mesh::ColorToBoundaryMapper< MeshType >::boundaryInfoMap_
private

◆ defaultBoundaryInfo_

template<typename MeshType >
BoundaryInfo walberla::mesh::ColorToBoundaryMapper< MeshType >::defaultBoundaryInfo_
private

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