WARPXM v1.10.0
Loading...
Searching...
No Matches
minus_electric_field_dot_tangent.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6#include <memory>
7#include <vector>
8
9namespace wxm
10{
11namespace apps
12{
13namespace mhd_two_temperature
14{
15namespace bc
16{
29{
30public:
32
34
35 void setup(const WxCryptSet& wxc) override;
36
37 const std::vector<int>& getInputVariableIndexes(int flag) const override
38 {
39 return mhd_fluid_indices_;
40 }
41
42 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
43 {
45 }
46
47 const std::vector<int>& getOutputVariableIndexes(int flag) const override
48 {
50 }
51
53 void bc_q(const real* q_in,
54 const real* aux_in,
55 const real* aux_out,
56 const solverVariables_t* pFV,
57 real* q_out) const override;
58
59protected:
61 std::vector<int> mhd_fluid_indices_;
62
65
68
72
74 std::vector<std::unique_ptr<WmApplication>> ef_apps_;
76
77private:
80};
81} // namespace bc
82} // namespace mhd_two_temperature
83} // namespace apps
84} // namespace wxm
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Class that calculates E dot t Used for calculating potential, phi = -\int_a^b(E dot t)dl.
Definition: minus_electric_field_dot_tangent.h:29
int num_electric_field_apps_
Definition: minus_electric_field_dot_tangent.h:75
std::vector< int > mhd_fluid_indices_
conserved variable vector to output to
Definition: minus_electric_field_dot_tangent.h:61
void bc_q(const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *q_out) const override
redefinition of bc
real direction_multiplier_
Definition: minus_electric_field_dot_tangent.h:71
bool flip_direction_multiplier_
direction multiplier
Definition: minus_electric_field_dot_tangent.h:70
std::vector< std::unique_ptr< WmApplication > > ef_apps_
pointer to subapplication
Definition: minus_electric_field_dot_tangent.h:74
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: minus_electric_field_dot_tangent.h:47
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: minus_electric_field_dot_tangent.h:42
std::vector< int > mhd_fluid_gradient_indices_
conserved variable vector to output to
Definition: minus_electric_field_dot_tangent.h:64
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: minus_electric_field_dot_tangent.h:37
std::vector< int > electric_field_dot_tangent_indices_
conserved variable vector to output to
Definition: minus_electric_field_dot_tangent.h:67
list apps
Definition: shock_tube.py:33
bc
Definition: advection2d_conservation.py:32
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11