WARPXM v1.10.0
Loading...
Searching...
No Matches
int_ke_comp.h
Go to the documentation of this file.
1#ifndef wxm_int_ke_component_h
2#define wxm_int_ke_component_h
3
4#include "integrate_app.h"
5
6namespace wxm
7{
15{
16public:
17 void setup(const WxCryptSet& wxc) override;
18
19 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
20 {
21 return _input_variables;
22 }
23
24 real integrate(const std::vector<std::vector<real>>& in,
25 const integrateVariables* pSV) const override;
26
27protected:
28 std::vector<int> _input_variables;
29};
30
31} // namespace wxm
32
33#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 of kinetic energy component over domain volume.
Definition: int_ke_comp.h:15
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
std::vector< int > _input_variables
Definition: int_ke_comp.h:28
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: int_ke_comp.h:19
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