SolutionHistory< VectorType > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::TimeIntegration::SolutionHistory< VectorType > Class Template Reference
#include <solution_history.hpp>
Public Member Functions | |
| SolutionHistory ()=default | |
| SolutionHistory (unsigned int size) | |
| void | resize (const unsigned int size) |
| void | apply (std::function< void(VectorType &)> f) |
| void | apply_old (std::function< void(VectorType &)> f) |
| void | update_ghost_values (const bool check=false) const |
| void | zero_out_ghost_values (const bool check=false) const |
| void | commit_old_solutions () |
| void | set_recent_old_solution (const VectorType &src) |
| const VectorType & | get_recent_old_solution () const |
| VectorType & | get_recent_old_solution () |
| const VectorType & | get_current_solution () const |
| VectorType & | get_current_solution () |
| VectorType & | get_solution (unsigned int i) |
| const std::vector< std::shared_ptr< VectorType > > & | get_old_solutions () const |
| const std::vector< VectorType > & | get_all_solutions () const |
| unsigned int | size () const |
Private Attributes | |
| std::vector< VectorType > | solutions |
Constructor & Destructor Documentation
◆ SolutionHistory() [1/2]
template<typename VectorType >
|
default |
◆ SolutionHistory() [2/2]
template<typename VectorType >
|
inlineexplicit |
Member Function Documentation
◆ apply()
template<typename VectorType >
|
inline |
◆ apply_old()
template<typename VectorType >
|
inline |
◆ commit_old_solutions()
template<typename VectorType >
|
inline |
◆ get_all_solutions()
template<typename VectorType >
|
inline |
◆ get_current_solution() [1/2]
template<typename VectorType >
|
inline |
◆ get_current_solution() [2/2]
template<typename VectorType >
|
inline |
◆ get_old_solutions()
template<typename VectorType >
|
inline |
◆ get_recent_old_solution() [1/2]
template<typename VectorType >
|
inline |
◆ get_recent_old_solution() [2/2]
template<typename VectorType >
|
inline |
◆ get_solution()
template<typename VectorType >
|
inline |
Return a reference to the old solution with the number i. Thereby the current solution has the number zero and the number is increasing with the age of the solution.
- Parameters
-
i Number of the old solution.
◆ resize()
template<typename VectorType >
|
inline |
◆ set_recent_old_solution()
template<typename VectorType >
|
inline |
◆ size()
template<typename VectorType >
|
inline |
◆ update_ghost_values()
template<typename VectorType >
|
inline |
◆ zero_out_ghost_values()
template<typename VectorType >
|
inline |
Member Data Documentation
◆ solutions
template<typename VectorType >
|
private |
The documentation for this class was generated from the following file:
- include/meltpooldg/time_integration/solution_history.hpp
Generated by