Graph Framework
|
Base class for absoption models. More...
#include <absorption.hpp>
Public Types | |
typedef T | base |
Type def to retrieve the backend base type. | |
Public Member Functions | |
virtual void | compile ()=0 |
Compile the workitems. | |
virtual void | run (const size_t time_index)=0 |
Run the workflow. | |
Static Public Attributes | |
static constexpr bool | safe_math = SAFE_MATH |
Retrieve template parameter of safe math. | |
Base class for absoption models.
T | Base type of the calculation. |
SAFE_MATH | Use Safe Math operations. |
|
pure virtual |
Compile the workitems.
Implemented in absorption::root_finder< T, SAFE_MATH >, and absorption::weak_damping< T, SAFE_MATH >.
|
pure virtual |
Run the workflow.
[in] | time_index | The time index to run the case for. |
Implemented in absorption::root_finder< T, SAFE_MATH >, and absorption::weak_damping< T, SAFE_MATH >.