Hipace
Public Types | Public Attributes | List of all members
FieldDiagnosticData Struct Reference

This struct holds data for one field diagnostic on one MR level. More...

#include <Diagnostic.H>

Public Types

using complex_type = amrex::GpuComplex< amrex::Real >
 

Public Attributes

std::string m_diag_name
 
int m_level = 0
 
int m_slice_dir
 
bool m_include_ghost_cells = false
 
bool m_use_custom_size_lo = false
 
bool m_use_custom_size_hi = false
 
amrex::RealVect m_diag_lo {0., 0., 0.}
 
amrex::RealVect m_diag_hi {0., 0., 0.}
 
amrex::IntVect m_diag_coarsen
 
bool m_do_laser {false}
 
int m_nfields
 
amrex::Vector< std::string > m_comps_output
 
amrex::Gpu::DeviceVector< intm_comps_output_idx
 
amrex::FArrayBox m_F
 
amrex::BaseFab< complex_typem_F_laser
 
amrex::Geometry m_geom_io
 
bool m_has_field
 
int m_output_period = 0
 
std::string m_laser_io_name = "laserEnvelope"
 

Detailed Description

This struct holds data for one field diagnostic on one MR level.

Member Typedef Documentation

◆ complex_type

Member Data Documentation

◆ m_comps_output

amrex::Vector<std::string> FieldDiagnosticData::m_comps_output

Component names to Write to output file

◆ m_comps_output_idx

amrex::Gpu::DeviceVector<int> FieldDiagnosticData::m_comps_output_idx

Component indexes to Write to output file

◆ m_diag_coarsen

amrex::IntVect FieldDiagnosticData::m_diag_coarsen

xyz coarsening ratio (positive)

◆ m_diag_hi

amrex::RealVect FieldDiagnosticData::m_diag_hi {0., 0., 0.}

3D array with upper ends of the diagnostics grid

◆ m_diag_lo

amrex::RealVect FieldDiagnosticData::m_diag_lo {0., 0., 0.}

3D array with lower ends of the diagnostics grid

◆ m_diag_name

std::string FieldDiagnosticData::m_diag_name

name used for input parameters and in the output

◆ m_do_laser

bool FieldDiagnosticData::m_do_laser {false}

Whether to output the laser

◆ m_F

amrex::FArrayBox FieldDiagnosticData::m_F

Vector over levels, all fields

◆ m_F_laser

amrex::BaseFab<complex_type> FieldDiagnosticData::m_F_laser

FAB for laser

◆ m_geom_io

amrex::Geometry FieldDiagnosticData::m_geom_io

Diagnostics geometry

◆ m_has_field

bool FieldDiagnosticData::m_has_field

if there is field output to write

◆ m_include_ghost_cells

bool FieldDiagnosticData::m_include_ghost_cells = false

if ghost cells are included in output

◆ m_laser_io_name

std::string FieldDiagnosticData::m_laser_io_name = "laserEnvelope"

Name of the laser in input and output files

◆ m_level

int FieldDiagnosticData::m_level = 0

MR level

◆ m_nfields

int FieldDiagnosticData::m_nfields

Number of physical fields to write

◆ m_output_period

int FieldDiagnosticData::m_output_period = 0

Number of iterations between consecutive output dumps. Default is 0, meaning no output

◆ m_slice_dir

int FieldDiagnosticData::m_slice_dir

Slicing direction

◆ m_use_custom_size_hi

bool FieldDiagnosticData::m_use_custom_size_hi = false

if a user defined diagnostics size should be used (hi)

◆ m_use_custom_size_lo

bool FieldDiagnosticData::m_use_custom_size_lo = false

if a user defined diagnostics size should be used (lo)


The documentation for this struct was generated from the following file: