WARPXM v1.10.0
Loading...
Searching...
No Matches
function_evaluator.h
Go to the documentation of this file.
1#ifndef WM_FUNCTION_EVALUATOR_H
2#define WM_FUNCTION_EVALUATOR_H
3
4// Wm includes
6#include "dfem/tools/tools.h"
7
8// STL includes
9#include <memory>
10
11namespace wxm
12{
13namespace dfem
14{
15namespace variable_adjuster
16{
17namespace function_evaluation
18{
19
21{
22public:
23 function_evaluator() = default;
24
29 void setup(const WxCryptSet& wxc) override;
30
34 void solve(real time, variables_type& input) override;
35
36protected:
37 std::unique_ptr<WmUDGGeometry> _dg_geometry;
40};
41
42} // namespace function_evaluation
43} // namespace variable_adjuster
44} // namespace dfem
45} // namespace wxm
46
47#endif // WM_FUNCTION_EVALUATOR_H
Definition: wmbasisarrayset.h:13
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: tools.h:22
void setup(const WxCryptSet &wxc) override
Setup the spatial solver using the cryptset.
std::unique_ptr< WmUDGGeometry > _dg_geometry
Definition: function_evaluator.h:37
WmBasisArraySet _basis_set
Definition: function_evaluator.h:38
void solve(real time, variables_type &input) override
Solves the spatial system and puts result in _rhs.
wxm::dfem::tools::scope_t _element_scope
Definition: function_evaluator.h:39
The WmVariableAdjuster class is a base class for variable adjusters.
Definition: variable_adjuster.h:31
wxm::temporal_solver::variables_type variables_type
Definition: variable_adjuster.h:41
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11