AMR-Wind
v0.1.0
CFD solver for wind plant simulations
|
An integer computational field. More...
#include <IntField.H>
Public Member Functions | |
IntField (const IntField &)=delete | |
IntField & | operator= (const IntField &)=delete |
const std::string & | name () const |
Name of the field. More... | |
unsigned | id () const |
Unique integer ID for this field. More... | |
int | num_comp () const |
Number of components for this field. More... | |
const amrex::IntVect & | num_grow () const |
Number of ghost cells. More... | |
FieldLoc | field_location () const |
Location of the field. More... | |
const FieldRepo & | repo () const |
Reference to the FieldRepo that holds the fabs. More... | |
amrex::iMultiFab & | operator() (int lev) noexcept |
Access the FAB at a given level. More... | |
const amrex::iMultiFab & | operator() (int lev) const noexcept |
amrex::Vector< amrex::iMultiFab * > | vec_ptrs () noexcept |
amrex::Vector< const amrex::iMultiFab * > | vec_const_ptrs () const noexcept |
void | setVal (int value) noexcept |
void | setVal (int value, int start_comp, int num_comp=1, int nghost=0) noexcept |
void | setVal (const amrex::Vector< int > &values, int nghost=0) noexcept |
Protected Member Functions | |
IntField (FieldRepo &repo, std::string name, const unsigned fid, const int ncomp=1, const int ngrow=1, const FieldLoc floc=FieldLoc::CELL) | |
Protected Attributes | |
FieldRepo & | m_repo |
std::string | m_name |
const unsigned | m_id |
int | m_ncomp |
amrex::IntVect | m_ngrow |
FieldLoc | m_floc |
Friends | |
class | FieldRepo |
An integer computational field.
Used to indicate masking and overset state with IBlanking
|
delete |
|
protected |
|
inline |
Location of the field.
|
inline |
Unique integer ID for this field.
|
inline |
Name of the field.
|
inline |
Number of components for this field.
|
inline |
Number of ghost cells.
|
noexcept |
|
noexcept |
Access the FAB at a given level.
|
inline |
Reference to the FieldRepo that holds the fabs.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |