|
ARTEMIS
|
#include <RhoMaximum.H>
Public Member Functions | |
| RhoMaximum (std::string rd_name) | |
| virtual void | ComputeDiags (int step) override final |
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 () |
Private Attributes | |
| amrex::Vector< amrex::Vector< std::unique_ptr< ComputeDiagFunctor > > > | m_rho_functors |
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 extrema of the total charge density and of the charge density of each charged species.
| RhoMaximum::RhoMaximum | ( | std::string | rd_name | ) |
constructor
| [in] | rd_name | reduced diags names |
|
finaloverridevirtual |
This function computes the maximum and minimum values of rho (summed over all species) and the maximum absolute value of rho for each species.
| [in] | step | current time step |
Implements ReducedDiags.
|
private |
Vector of (pointers to) functors to compute rho, per level, per species. We reuse here the same functors as those used for regular diagnostics.