This class mainly contains a function that computes the field Poynting flux, S = E cross B, integrated over each face of the domain.
More...
#include <FieldPoyntingFlux.H>
This class mainly contains a function that computes the field Poynting flux, S = E cross B, integrated over each face of the domain.
◆ FieldPoyntingFlux()
| FieldPoyntingFlux::FieldPoyntingFlux |
( |
const std::string & | rd_name | ) |
|
Constructor.
- Parameters
-
| [in] | rd_name | reduced diags names |
◆ ComputeDiags()
| void FieldPoyntingFlux::ComputeDiags |
( |
int | step | ) |
|
|
finalvirtual |
Call the routine to compute the Poynting flux if needed.
- Parameters
-
| [in] | step | current time step |
Implements ReducedDiags.
◆ ComputeDiagsMidStep()
| void FieldPoyntingFlux::ComputeDiagsMidStep |
( |
int | step | ) |
|
|
finalvirtual |
Call the routine to compute the Poynting flux at the mid step time level.
- Parameters
-
| [in] | step | current time step |
Reimplemented from ReducedDiags.
◆ ComputePoyntingFlux()
| void FieldPoyntingFlux::ComputePoyntingFlux |
( |
| ) |
|
This function computes the electromagnetic Poynting flux, obtained by integrating the electromagnetic Poynting flux density g = eps0 * (E x B) on the surface of the domain.
◆ ReadCheckpointData()
| void FieldPoyntingFlux::ReadCheckpointData |
( |
std::string const & | dir | ) |
|
|
finalvirtual |
Read in checkpoint related data.
- Parameters
-
| [in] | dir | Directory where checkpoint data was written |
Reimplemented from ReducedDiags.
◆ WriteCheckpointData()
| void FieldPoyntingFlux::WriteCheckpointData |
( |
std::string const & | dir | ) |
|
|
finalvirtual |
Write out checkpoint related data.
- Parameters
-
| [in] | dir | Directory where checkpoint data is written |
Reimplemented from ReducedDiags.
◆ use_mid_step_value
| bool FieldPoyntingFlux::use_mid_step_value = false |
|
private |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6270/Source/Diagnostics/ReducedDiags/FieldPoyntingFlux.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6270/Source/Diagnostics/ReducedDiags/FieldPoyntingFlux.cpp