|
PLaSK library
|
Set of boundary conditions instances for given mesh type and boundary condition description type. More...
#include <plask/mesh/boundary_conditions.hpp>
Public Types | |
| typedef BoundaryT | Boundary |
| typedef Boundary::MeshType | MeshType |
| type of mesh | |
| typedef ValueT | ValueType |
| type which describes boundary condition | |
| typedef BoundaryConditionWithMesh< Boundary, ValueType > | Element |
| One boundary-condition pair. | |
| typedef elements_container_t::iterator | iterator |
| typedef elements_container_t::const_iterator | const_iterator |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| template<typename... ArgsTypes> | |
| BoundaryConditionsWithMesh (ArgsTypes &&... args) | |
| Delegate all constructors to underline container (which is std::list<Element>). | |
| Element & | operator[] (std::size_t index) |
Get reference to boundary condition with given index. | |
| const Element & | operator[] (std::size_t index) const |
Get const reference to boundary condition with given index. | |
| std::size_t | size () const |
| Get number of elements. | |
| bool | empty () const |
| Check if this is empty. | |
| const_iterator | find (std::size_t mesh_index) const |
Check if any boundary contains a mesh_index. | |
| plask::optional< ValueType > | getValue (std::size_t mesh_index) const |
Friends | |
| struct | BoundaryConditions< BoundaryT, ValueType > |
Set of boundary conditions instances for given mesh type and boundary condition description type.
| BoundaryT | type of boundary |
| ValueT | type which describe boundary condition Boundaries |
Definition at line 95 of file boundary_conditions.hpp.
| typedef BoundaryT plask::BoundaryConditionsWithMesh< BoundaryT, ValueT >::Boundary |
Definition at line 97 of file boundary_conditions.hpp.
| typedef elements_container_t::const_iterator plask::BoundaryConditionsWithMesh< BoundaryT, ValueT >::const_iterator |
Definition at line 111 of file boundary_conditions.hpp.
| typedef BoundaryConditionWithMesh<Boundary, ValueType> plask::BoundaryConditionsWithMesh< BoundaryT, ValueT >::Element |
One boundary-condition pair.
Definition at line 102 of file boundary_conditions.hpp.
| typedef elements_container_t::iterator plask::BoundaryConditionsWithMesh< BoundaryT, ValueT >::iterator |
Definition at line 110 of file boundary_conditions.hpp.
type of mesh
Definition at line 98 of file boundary_conditions.hpp.
| typedef ValueT plask::BoundaryConditionsWithMesh< BoundaryT, ValueT >::ValueType |
type which describes boundary condition
Definition at line 99 of file boundary_conditions.hpp.
|
inline |
Delegate all constructors to underline container (which is std::list<Element>).
| args | arguments to delegate |
Definition at line 124 of file boundary_conditions.hpp.
|
inline |
Definition at line 113 of file boundary_conditions.hpp.
|
inline |
Definition at line 114 of file boundary_conditions.hpp.
|
inline |
Check if this is empty.
It has constant time complexity.
true only if this container contains no conditions boundaries Definition at line 166 of file boundary_conditions.hpp.
|
inline |
Definition at line 116 of file boundary_conditions.hpp.
|
inline |
Definition at line 117 of file boundary_conditions.hpp.
|
inline |
Check if any boundary contains a mesh_index.
| mesh_index | index in mesh |
mesh_index or end() if there is no such element Definition at line 176 of file boundary_conditions.hpp.
|
inline |
Definition at line 182 of file boundary_conditions.hpp.
|
inline |
Get reference to boundary condition with given index.
This method has linear time complexity.
| index | index of element |
index | OutOfBoundsException | if index is not valid |
Definition at line 134 of file boundary_conditions.hpp.
|
inline |
Get const reference to boundary condition with given index.
This method has linear time complexity.
| index | index of element |
index | OutOfBoundsException | if index is not valid |
Definition at line 146 of file boundary_conditions.hpp.
|
inline |
Get number of elements.
This method has linear time complexity.
Definition at line 156 of file boundary_conditions.hpp.
|
friend |
Definition at line 106 of file boundary_conditions.hpp.