|
ExaDG
|
#include <spatial_aware_function.h>
Public Types | |
| using | time_type = typename dealii::Function<dim, Number>::time_type |
Public Member Functions | |
| SpatialAwareFunction (const unsigned int n_components=1, const time_type initial_time=0.0) | |
| virtual bool | varies_in_space (double const time) const =0 |
| virtual Number | compute_time_factor (double const time) const =0 |
The intention behind is to bypass a potentially expensive evaluation of dealii::Function::value() (which the internal implementation will call for each quadrature point) in case one knows a priori that the function does not vary in space.
|
pure virtual |
If the above function varies_in_space() returns false, this function will be used to evaluate the function's value, bypassing dealii::Function::value().
|
pure virtual |
If this function evaluates to true, dealii::Function::set_time() in combination with dealii::Function::value() will be used to evaluate the function's value."