|
Graph Framework
|
Class interface weak damping approximation. More...
#include <absorption.hpp>
Public Member Functions | |
| weak_damping (graph::shared_leaf< T, SAFE_MATH > kamp, graph::shared_leaf< T, SAFE_MATH > w, graph::shared_leaf< T, SAFE_MATH > kx, graph::shared_leaf< T, SAFE_MATH > ky, graph::shared_leaf< T, SAFE_MATH > kz, graph::shared_leaf< T, SAFE_MATH > x, graph::shared_leaf< T, SAFE_MATH > y, graph::shared_leaf< T, SAFE_MATH > z, graph::shared_leaf< T, SAFE_MATH > t, equilibrium::shared< T, SAFE_MATH > &eq, const std::string &filename="", const size_t index=0) | |
| Constructor for weak damping. | |
| ~weak_damping () | |
| Destructor. | |
| void | compile () |
| Compile the workitems. | |
| void | run (const size_t time_index) |
| Run the workflow. | |
Additional Inherited Members | |
Public Types inherited from absorption::method< T, SAFE_MATH > | |
| typedef T | base |
| Type def to retrieve the backend base type. | |
Static Public Attributes inherited from absorption::method< T, SAFE_MATH > | |
| static constexpr bool | safe_math = SAFE_MATH |
| Retrieve template parameter of safe math. | |
Class interface weak damping approximation.
| T | Base type of the calculation. |
| SAFE_MATH | Use Safe Math operations. |
|
inline |
Constructor for weak damping.
| [in] | kamp | Inital kamp. |
| [in] | w | Inital w. |
| [in] | kx | Inital kx. |
| [in] | ky | Inital ky. |
| [in] | kz | Inital kz. |
| [in] | x | Inital x. |
| [in] | y | Inital y. |
| [in] | z | Inital z. |
| [in] | t | Inital t. |
| [in] | eq | The plasma equilibrium. |
| [in] | filename | Result filename, empty names will be blank. |
| [in] | index | Concurrent index. |
|
inlinevirtual |
Compile the workitems.
Implements absorption::method< T, SAFE_MATH >.
|
inlinevirtual |
Run the workflow.
| [in] | time_index | The time index to run the case for. |
Implements absorption::method< T, SAFE_MATH >.