WARPXM v1.10.0
Loading...
Searching...
No Matches
int_DDn_dv_mhd2T.h
Go to the documentation of this file.
1#pragma once
2
3#include "integrate_app.h"
4
6
7// std includes
8#include <memory>
9
10namespace wxm
11{
27{
28public:
29 void setup(const WxCryptSet& wxc) override;
30
31 const std::vector<int>& getInputVariableIndexes(int flag = 0) const override
32 {
33 return in_vars_;
34 }
35
36 real integrate(const std::vector<std::vector<real>>& in,
37 const integrateVariables* pSV) const override;
38
39protected:
41 std::unique_ptr<wxm::apps::mhd_two_temperature::AppSetupHelper> setup_helper_;
44
45 std::vector<int> in_vars_;
46
55};
56} // 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 DDn reactivity over domain volume, given two-temperature MHD variables.
Definition: int_DDn_dv_mhd2T.h:27
void setup(const WxCryptSet &wxc) override
real T0_eV_
Definition: int_DDn_dv_mhd2T.h:52
real Z_
Definition: int_DDn_dv_mhd2T.h:50
real gamma_
Definition: int_DDn_dv_mhd2T.h:51
real A_
Definition: int_DDn_dv_mhd2T.h:49
real L_
Definition: int_DDn_dv_mhd2T.h:53
real min_pressure_floor_
Definition: int_DDn_dv_mhd2T.h:43
bool cylindrical_geometry_
Definition: int_DDn_dv_mhd2T.h:47
int radial_index_
Definition: int_DDn_dv_mhd2T.h:48
std::vector< int > in_vars_
Definition: int_DDn_dv_mhd2T.h:45
real tau_
Definition: int_DDn_dv_mhd2T.h:54
const std::vector< int > & getInputVariableIndexes(int flag=0) const override
Definition: int_DDn_dv_mhd2T.h:31
std::unique_ptr< wxm::apps::mhd_two_temperature::AppSetupHelper > setup_helper_
Helper object that automates common setup routines.
Definition: int_DDn_dv_mhd2T.h:41
real min_density_floor_
Definition: int_DDn_dv_mhd2T.h:42
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