WARPXM v1.10.0
Loading...
Searching...
No Matches
sinc_field.h
Go to the documentation of this file.
1#ifndef wmapplication_function_maxwell_sinc_field_h
2#define wmapplication_function_maxwell_sinc_field_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
15
17{
18public:
24
29 ~SincField() override;
30
35 void setup(const WxCryptSet& wxc) override;
36
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_fields;
45 }
46
54 void evaluate_function(const real* q,
55 const real* aux,
56 const solverVariables_t* pSV,
57 real* result) const override;
58
59protected:
60 std::vector<int> _output_fields;
61
64
67
71
72 std::vector<real> _orientE;
73 std::vector<real> _orientB;
74
75private:
76 SincField& operator=(const SincField& var);
77 SincField(const SincField& var);
78};
79} // namespace maxwell
80} // namespace functions
81} // namespace apps
82} // namespace wxm
83
84#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: sinc_field.h:17
std::vector< real > _orientE
Definition: sinc_field.h:72
real _sinc_width
Definition: sinc_field.h:68
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: sinc_field.h:42
real _amplitude
Definition: sinc_field.h:63
real _min_wavelength
Definition: sinc_field.h:62
std::vector< int > _output_fields
Definition: sinc_field.h:60
real omega_p_norm
Definition: sinc_field.h:65
real _sinc_center
Definition: sinc_field.h:69
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< real > _orientB
Definition: sinc_field.h:73
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _transition_width
Definition: sinc_field.h:70
real skin_depth_norm
Definition: sinc_field.h:66
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