WARPXM v1.10.0
Loading...
Searching...
No Matches
volume.h
Go to the documentation of this file.
1#ifndef WXM_VOLUME_H
2#define WXM_VOLUME_H
3
4#include "integrate_app.h"
5
6namespace wxm
7{
12{
13public:
14 void setup(const WxCryptSet& wxc) override
15 {
16 }
17
18 real integrate(const std::vector<std::vector<real>>& in,
19 const integrateVariables* pSV) const override
20 {
21 return 1;
22 }
23};
24} // namespace wxm
25#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 the volume (i.e.
Definition: volume.h:12
real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
Evaluates the integral function, returning a scalar value.
Definition: volume.h:18
void setup(const WxCryptSet &wxc) override
Definition: volume.h:14
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