WARPXM v1.10.0
Loading...
Searching...
No Matches
field_zpinch_1D.h
Go to the documentation of this file.
1#ifndef wmapplication_function_maxwell_field_zpinch_1d_h
2#define wmapplication_function_maxwell_field_zpinch_1d_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
16{
17public:
23
28 ~FieldZpinch1d() override;
29
34 void setup(const WxCryptSet& wxc) override;
35
41 const std::vector<int>& getOutputVariableIndexes(int flag) const override
42 {
43 return _output_fields;
44 }
45
53 void evaluate_function(const real* q,
54 const real* aux,
55 const solverVariables_t* pSV,
56 real* result) const override;
57
58protected:
59 std::vector<int> _output_fields;
60
63 // real _mass;
64 // real _charge;
65
66private:
67 FieldZpinch1d& operator=(const FieldZpinch1d& var);
68 FieldZpinch1d(const FieldZpinch1d& var);
69};
70} // namespace maxwell
71} // namespace functions
72} // namespace apps
73} // namespace wxm
74
75#endif
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
Definition: field_zpinch_1D.h:16
real _skin_depth_param
Definition: field_zpinch_1D.h:62
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _output_fields
Definition: field_zpinch_1D.h:59
real _gas_gamma
Definition: field_zpinch_1D.h:61
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: field_zpinch_1D.h:41
list apps
Definition: shock_tube.py:33
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