WARPXM v1.10.0
Loading...
Searching...
No Matches
p_diff_analytic.h
Go to the documentation of this file.
1#ifndef WXM_P_DIFF_ANALYTIC_H
2#define WXM_P_DIFF_ANALYTIC_H
3
4#include <memory>
5
6#include "integrate_app.h"
8
9#include <memory>
10
11namespace wxm
12{
21{
22
23public:
24 void setup(const WxCryptSet& wxc) override;
25
26 real integrate(const std::vector<std::vector<real>>& in,
27 const integrateVariables* pSV) const override;
28
29 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
30 {
31 return in_vars_;
32 }
33
34protected:
35 std::vector<int> in_vars_;
38
39 std::unique_ptr<WmApplication> analytic_app_;
40};
41} // namespace wxm
42
43#endif // WXM_P_DIFF_ANALYTIC_H
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 |a-b|^p, for finite p @params Vars.
Definition: p_diff_analytic.h:21
real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
Evaluates the integral function, returning a scalar value.
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: p_diff_analytic.h:29
std::vector< int > in_vars_
Definition: p_diff_analytic.h:35
real ipower_
Definition: p_diff_analytic.h:37
std::unique_ptr< WmApplication > analytic_app_
Definition: p_diff_analytic.h:39
real power_
Definition: p_diff_analytic.h:36
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