WARPXM v1.10.0
Loading...
Searching...
No Matches
phase_space_function_evaluator.h
Go to the documentation of this file.
1#ifndef WM_PHASE_SPACE_FUNCTION_EVALUATOR_H
2#define WM_PHASE_SPACE_FUNCTION_EVALUATOR_H
3
4// Wm includes
6#include "dfem/tools/tools.h"
8
9// STL includes
10#include <memory>
11
12namespace wxm
13{
14namespace dfem
15{
16namespace variable_adjuster
17{
18namespace function_evaluation
19{
20
23{
24public:
26
31 void setup(const WxCryptSet& wxc) override;
32
36 void solve(real time, variables_type& input) override;
37
38protected:
39 // element scope
41
42 // velocity space range
43 std::unique_ptr<WxRange> _velocity_space_element_range;
44
45 // Phase space geometry
46 std::unique_ptr<geometry::phase_space::PhaseSpaceDGGeometry> _phase_space_dg_geometry;
47};
48
49} // namespace function_evaluation
50} // namespace variable_adjuster
51} // namespace dfem
52} // namespace wxm
53
54#endif // WM_PHASE_SPACE_FUNCTION_EVALUATOR_H
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: tools.h:22
std::unique_ptr< WxRange > _velocity_space_element_range
Definition: phase_space_function_evaluator.h:43
void setup(const WxCryptSet &wxc) override
Setup the spatial solver using the cryptset.
std::unique_ptr< geometry::phase_space::PhaseSpaceDGGeometry > _phase_space_dg_geometry
Definition: phase_space_function_evaluator.h:46
wxm::dfem::tools::scope_t _element_scope
Definition: phase_space_function_evaluator.h:40
void solve(real time, variables_type &input) override
Solves the spatial system and puts result in _rhs.
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