![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
Container of nodal variables. More...
#include <dbpp_Uh.h>
Public Types | |
| using | NodalValue = NodalTpl<unsigned, float64, float64, float64> |
| Nodal Variable is the "Basis" of numerical method approximation. | |
| using | vec_nval = std::vector<NodalValue> |
| STL-container like interface (range) | |
| using | value_type = vec_nval::value_type |
| using | pointer = value_type* |
| using | iterator = pointer |
| using | const_pointer = const value_type* |
| using | const_iterator = const_pointer |
| using | reference = value_type& |
| using | const_reference = const value_type& |
| using | range_diff_type = ptrdiff_t |
| using | reverse_iterator = std::reverse_iterator<iterator> |
| using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
Public Member Functions | |
| auto | cbegin () const |
| Iterator access. | |
| auto | begin () |
| auto | cend () const |
| auto | end () |
| auto | crbegin () const |
| auto | rbegin () |
| auto | rend () const |
| auto | crend () const |
| Uh () | |
| default ctor | |
| Uh (int32 df, Omega &oh) | |
| ctor from degree of freedom and domain | |
| std::vector< double > | to_stdVector (eNodalField aNvalComp=eNodalField::A) const |
| Helper to retrieve component of nodal variable. | |
| vec_nval & | vecNodalVarArray () |
| Getter. | |
| const vec_nval & | vecNodalVarArray () const |
| Getter. | |
| NodalValue & | operator[] (int32 nn) |
| Accessor. | |
| const NodalValue & | operator[] (int32 nn) const |
| Accessor. | |
| std::size_t | total_node_no () const |
Private Attributes | |
| int32 | ndf |
| std::size_t | m_totalNodeNo |
| vec_nval | m_vecNodalVarArray |
Friends | |
| std::ostream & | operator<< (std::ostream &, Uh &) |
| output stream operator | |
Container of nodal variables.
| using dbpp::Uh::const_pointer = const value_type* |
| using dbpp::Uh::const_reference = const value_type& |
| using dbpp::Uh::const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using dbpp::Uh::iterator = pointer |
| using dbpp::Uh::NodalValue = NodalTpl<unsigned, float64, float64, float64> |
Nodal Variable is the "Basis" of numerical method approximation.
| using dbpp::Uh::pointer = value_type* |
| using dbpp::Uh::range_diff_type = ptrdiff_t |
| using dbpp::Uh::reference = value_type& |
| using dbpp::Uh::reverse_iterator = std::reverse_iterator<iterator> |
| using dbpp::Uh::value_type = vec_nval::value_type |
| using dbpp::Uh::vec_nval = std::vector<NodalValue> |
STL-container like interface (range)
| dbpp::Uh::Uh | ( | ) |
default ctor
| dbpp::Uh::Uh | ( | int32 | df, |
| Omega & | oh ) |
ctor from degree of freedom and domain
| df | degre of freedom |
| oh | computational domain |
|
inline |
|
inline |
Iterator access.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Accessor.
| nn | node index |
|
inline |
Accessor.
| nn | node index |
|
inline |
|
inline |
|
inline |
Helper to retrieve component of nodal variable.
| aNvalComp | nodal variable component |
|
inline |
|
inline |
Getter.
|
inline |
Getter.
|
friend |
output stream operator
| stream | operator |
| nodal | variables |
|
private |
number of grid node (discretization)
|
private |
nodal variables
|
private |
number of degree freedom