#include <IntScratchField.H>
Integer version of ScratchField that works with iMultiFab
◆ IntScratchField() [1/2]
◆ IntScratchField() [2/2]
| amr_wind::IntScratchField::IntScratchField |
( |
const FieldRepo & | repo, |
|
|
std::string | name, |
|
|
const int | ncomp = 1, |
|
|
const int | ngrow = 1, |
|
|
const FieldLoc | floc = FieldLoc::CELL ) |
|
inlineprotected |
◆ field_location()
| FieldLoc amr_wind::IntScratchField::field_location |
( |
| ) |
const |
|
inline |
Cell, node, face where the field is stored.
◆ name()
| const std::string & amr_wind::IntScratchField::name |
( |
| ) |
const |
|
inline |
Name if available for this scratch field.
◆ num_comp()
| int amr_wind::IntScratchField::num_comp |
( |
| ) |
const |
|
inline |
Number of components for this field.
◆ num_grow()
| const amrex::IntVect & amr_wind::IntScratchField::num_grow |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
| amrex::iMultiFab & amr_wind::IntScratchField::operator() |
( |
int | lev | ) |
|
|
inline |
Return the field data for a given level.
◆ operator()() [2/2]
| const amrex::iMultiFab & amr_wind::IntScratchField::operator() |
( |
int | lev | ) |
const |
|
inline |
◆ operator=()
◆ repo()
| const FieldRepo & amr_wind::IntScratchField::repo |
( |
| ) |
const |
|
inline |
Return a reference to the field repository that created this field.
◆ setVal()
| void amr_wind::IntScratchField::setVal |
( |
int | value | ) |
|
|
noexcept |
◆ vec_const_ptrs()
| amrex::Vector< const amrex::iMultiFab * > amr_wind::IntScratchField::vec_const_ptrs |
( |
| ) |
const |
|
inlinenoexcept |
◆ vec_ptrs()
| amrex::Vector< amrex::iMultiFab * > amr_wind::IntScratchField::vec_ptrs |
( |
| ) |
|
|
inlinenoexcept |
◆ FieldRepo
◆ m_data
| amrex::Vector<amrex::iMultiFab> amr_wind::IntScratchField::m_data |
|
protected |
◆ m_floc
| FieldLoc amr_wind::IntScratchField::m_floc |
|
protected |
◆ m_name
| std::string amr_wind::IntScratchField::m_name |
|
protected |
◆ m_ncomp
| int amr_wind::IntScratchField::m_ncomp |
|
protected |
◆ m_ngrow
| amrex::IntVect amr_wind::IntScratchField::m_ngrow |
|
protected |
◆ m_repo
| const FieldRepo& amr_wind::IntScratchField::m_repo |
|
protected |
The documentation for this class was generated from the following files: