WARPXM v1.10.0
Loading...
Searching...
No Matches
max_diff.h
Go to the documentation of this file.
1#ifndef WXM_MAX_DIFF_H
2#define WXM_MAX_DIFF_H
3
4#include "integrate_app.h"
5
6namespace wxm
7{
14class max_diff : public integrate_app
15{
16 std::vector<int> _in_vars;
17
18public:
19 void setup(const WxCryptSet& wxc) override;
20
21 real integrate(const std::vector<std::vector<real>>& in,
22 const integrateVariables* pSV) const override;
23
24 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
25 {
26 return _in_vars;
27 }
28};
29} // namespace wxm
30
31#endif
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Base class for performing a volume integral.
Definition: integrate_app.h:20
Computes max(|a-b|)
Definition: max_diff.h:15
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: max_diff.h:24
real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
Evaluates the integral function, returning a scalar value.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: integrate_app.h:9
#define real
Definition: wmoclunstructuredreconstruction.h:11