|
adamantine
|
#include <Boundary.hh>
Public Member Functions | |
| Boundary (boost::property_tree::ptree const &database, std::vector< dealii::types::boundary_id > const &boundary_ids) | |
| unsigned int | n_boundary_ids () const |
| BoundaryType | get_boundary_type (dealii::types::boundary_id boundary_id) const |
| std::vector< dealii::types::boundary_id > | get_boundary_ids (BoundaryType type) const |
Private Member Functions | |
| BoundaryType | parse_boundary_line (std::string boundary_type_str) |
Private Attributes | |
| std::vector< BoundaryType > | _types |
This class parses the Boundary database and stores the BoundaryType associated with each boundary id.
Definition at line 81 of file Boundary.hh.
| adamantine::Boundary::Boundary | ( | boost::property_tree::ptree const & | database, |
| std::vector< dealii::types::boundary_id > const & | boundary_ids | ||
| ) |
Constructor.
Definition at line 12 of file Boundary.cc.
| std::vector< dealii::types::boundary_id > adamantine::Boundary::get_boundary_ids | ( | BoundaryType | type | ) | const |
Return all the boundary ids associated with the given BoundaryType
Definition at line 73 of file Boundary.cc.
|
inline |
Return the BoundaryType associated with the given boundary id.
Definition at line 120 of file Boundary.hh.
|
inline |
Return the number of boundary ids associated with the Geometry.
Definition at line 118 of file Boundary.hh.
|
private |
Return the BoundaryType associated with the given string.
Definition at line 87 of file Boundary.cc.
|
private |
Vector of all the BoundaryType present in the Geometry.
Definition at line 110 of file Boundary.hh.