WARPXM v1.10.0
Loading...
Searching...
No Matches
int_q_dv_cylindrical.h
Go to the documentation of this file.
1#ifndef WXM_INT_Q_DV_CYLINDRICAL_H
2#define WXM_INT_Q_DV_CYLINDRICAL_H
3
4#include "integrate_app.h"
5
6namespace wxm
7{
14{
15public:
16 void setup(const WxCryptSet& wxc) override;
17
18 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
19 {
20 return in_vars_;
21 }
22
23 real integrate(const std::vector<std::vector<real>>& in,
24 const integrateVariables* pSV) const override;
25
26protected:
27 std::vector<int> in_vars_;
28
30};
31} // namespace wxm
32#endif
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Computes the integral of variable q over domain volume @params Vars.
Definition: int_q_dv_cylindrical.h:14
void setup(const WxCryptSet &wxc) override
int _radial_index
Definition: int_q_dv_cylindrical.h:29
std::vector< int > in_vars_
Definition: int_q_dv_cylindrical.h:27
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: int_q_dv_cylindrical.h:18
real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
Evaluates the integral function, returning a scalar value.
Base class for performing a volume integral.
Definition: integrate_app.h:20
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