#include <ERF_SampleData.H>
|
| SampleData (bool do_line=false, bool do_plane=false) |
|
void | get_sample_data (amrex::Vector< amrex::Geometry > &geom, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars_new) |
|
void | write_sample_data (amrex::Vector< amrex::Real > &time, amrex::Vector< int > &level_steps, amrex::Vector< amrex::IntVect > &ref_ratio, amrex::Vector< amrex::Geometry > &geom) |
|
◆ SampleData()
SampleData::SampleData |
( |
bool |
do_line = false , |
|
|
bool |
do_plane = false |
|
) |
| |
|
inlineexplicit |
382 if(do_line)
m_ls = std::make_unique<LineSampler >();
383 if(do_plane)
m_ps = std::make_unique<PlaneSampler>();
std::unique_ptr< LineSampler > m_ls
Definition: ERF_SampleData.H:407
std::unique_ptr< PlaneSampler > m_ps
Definition: ERF_SampleData.H:410
◆ get_sample_data()
void SampleData::get_sample_data |
( |
amrex::Vector< amrex::Geometry > & |
geom, |
|
|
amrex::Vector< amrex::Vector< amrex::MultiFab >> & |
vars_new |
|
) |
| |
|
inline |
390 if (
m_ls)
m_ls->get_line_mfs(vars_new);
391 if (
m_ps)
m_ps->get_plane_mfs(geom, vars_new);
◆ write_sample_data()
void SampleData::write_sample_data |
( |
amrex::Vector< amrex::Real > & |
time, |
|
|
amrex::Vector< int > & |
level_steps, |
|
|
amrex::Vector< amrex::IntVect > & |
ref_ratio, |
|
|
amrex::Vector< amrex::Geometry > & |
geom |
|
) |
| |
|
inline |
400 if (
m_ls)
m_ls->write_line_mfs(time, level_steps, ref_ratio, geom);
401 if (
m_ls)
m_ps->write_plane_mfs(time, level_steps, ref_ratio, geom);
◆ m_ls
std::unique_ptr<LineSampler> SampleData::m_ls = nullptr |
|
private |
◆ m_ps
The documentation for this class was generated from the following file: