WARPXM v1.10.0
Loading...
Searching...
No Matches
integrate_app.h
Go to the documentation of this file.
1#ifndef WXM_INTEGRATE_APP_HPP
2#define WXM_INTEGRATE_APP_HPP
3
4#include "apps/app_base.h"
5
6namespace wxm
7{
9{
12 real x[3];
14};
15
19class integrate_app : public app_base
20{
21public:
26 std::vector<int> stages;
27
28 virtual void setup(const WxCryptSet& wxc) = 0;
29
33 virtual real integrate(const std::vector<std::vector<real>>& in,
34 const integrateVariables* pSV) const = 0;
35};
36}
37#endif
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: app_base.h:15
Base class for performing a volume integral.
Definition: integrate_app.h:20
virtual real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const =0
Evaluates the integral function, returning a scalar value.
std::vector< int > stages
what stages this app expects as inputs, or empty to give the default stages (default is often the cur...
Definition: integrate_app.h:26
virtual void setup(const WxCryptSet &wxc)=0
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: integrate_app.h:9
real x[3]
Definition: integrate_app.h:12
real dt
Definition: integrate_app.h:11
int num_dims
Definition: integrate_app.h:13
real time
Definition: integrate_app.h:10
#define real
Definition: wmoclunstructuredreconstruction.h:11