|
ARTEMIS
|
This class mainly contains a function that computes the field momentum. More...
#include <FieldMomentum.H>
Public Member Functions | |
| FieldMomentum (std::string rd_name) | |
| Constructor. More... | |
| virtual void | ComputeDiags (int step) override final |
| This function computes the electromagnetic momentum, obtained by integrating the electromagnetic momentum density g = eps0 * (E x B). More... | |
Public Member Functions inherited from ReducedDiags | |
| ReducedDiags (std::string rd_name) | |
| virtual | ~ReducedDiags ()=default |
| virtual void | InitData () |
| virtual void | LoadBalance () |
| virtual void | WriteToFile (int step) const |
| void | BackwardCompatibility () |
Additional Inherited Members | |
Public Attributes inherited from ReducedDiags | |
| std::string | m_path = "./diags/reducedfiles/" |
| output path (default) More... | |
| std::string | m_extension = "txt" |
| output extension (default) More... | |
| std::string | m_rd_name |
| diags name More... | |
| utils::parser::IntervalsParser | m_intervals |
| output intervals More... | |
| int | m_IsNotRestart = 1 |
| check if it is a restart run More... | |
| std::string | m_sep = " " |
| separator in the output file More... | |
| std::vector< amrex::Real > | m_data |
| output data More... | |
This class mainly contains a function that computes the field momentum.
| FieldMomentum::FieldMomentum | ( | std::string | rd_name | ) |
Constructor.
| [in] | rd_name | reduced diags names |
|
finaloverridevirtual |
This function computes the electromagnetic momentum, obtained by integrating the electromagnetic momentum density g = eps0 * (E x B).
| [in] | step | current time step |
Implements ReducedDiags.