WARPXM v1.10.0
Loading...
Searching...
No Matches
int_KEpolar_dv.h
Go to the documentation of this file.
1#pragma once
2
3#include "integrate_app.h"
4
5namespace wxm
6{
16{
17public:
18 void setup(const WxCryptSet& wxc) override;
19
20 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
21 {
22 return in_vars_;
23 }
24
25 real integrate(const std::vector<std::vector<real>>& in,
26 const integrateVariables* pSV) const override;
27
28protected:
29 std::vector<int> in_vars_;
30
32 int _ir;
33 int _ith;
34};
35} // namespace wxm
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Computes the integral of the polar kinetic energy @params Vars.
Definition: int_KEpolar_dv.h:16
int _ir
Definition: int_KEpolar_dv.h:32
std::vector< int > in_vars_
Definition: int_KEpolar_dv.h:29
bool _cylindrical_geometry
Definition: int_KEpolar_dv.h:31
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: int_KEpolar_dv.h:20
real integrate(const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
Evaluates the integral function, returning a scalar value.
int _ith
Definition: int_KEpolar_dv.h:33
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