WARPXM v1.10.0
Loading...
Searching...
No Matches
unique_variable_function_evaluator.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6// STL includes
7
8namespace wxm
9{
10namespace dfem
11{
12namespace variable_adjuster
13{
14namespace unique_variable_adjuster
15{
24{
25public:
27
32 void setup(const WxCryptSet& wxc) override;
33
37 void solve(real time, variables_type& input) override;
38
39 // Shouldn't need to do a any barrier. Each mpi rank should calculate the same thing.
40
41protected:
42 /* indexes used in apps definitions */
43 std::vector<size_t> _out_idcs;
44
45private:
48 operator=(const UniqueVariableFunctionEvaluator& var) = delete;
49
52};
53
54} // namespace unique_variable_adjuster
55} // namespace variable_adjuster
56} // namespace dfem
57} // namespace wxm
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
The UniqueVariableFunctionEvaluator class evaluates a function and applies it to a unique_distributed...
Definition: unique_variable_function_evaluator.h:24
void setup(const WxCryptSet &wxc) override
Setup the spatial solver using the cryptset.
std::vector< size_t > _out_idcs
Definition: unique_variable_function_evaluator.h:43
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