IntField Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
amr_wind::IntField Class Reference
#include <IntField.H>
Collaboration diagram for amr_wind::IntField:
Public Member Functions | |
IntField (const IntField &)=delete | |
IntField & | operator= (const IntField &)=delete |
const std::string & | name () const |
Name of the field. | |
unsigned | id () const |
Unique integer ID for this field. | |
int | num_comp () const |
Number of components for this field. | |
const amrex::IntVect & | num_grow () const |
Number of ghost cells. | |
FieldLoc | field_location () const |
Location of the field. | |
const FieldRepo & | repo () const |
Reference to the FieldRepo that holds the fabs. | |
amrex::iMultiFab & | operator() (int lev) noexcept |
Access the FAB at a given level. | |
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 |
Detailed Description
An integer computational field
Used to indicate masking and overset state with IBlanking
Constructor & Destructor Documentation
◆ IntField() [1/2]
|
delete |
◆ IntField() [2/2]
|
protected |
Member Function Documentation
◆ field_location()
|
inline |
Location of the field.
◆ id()
|
inline |
Unique integer ID for this field.
◆ name()
|
inline |
Name of the field.
◆ num_comp()
|
inline |
Number of components for this field.
◆ num_grow()
|
inline |
Number of ghost cells.
◆ operator()() [1/2]
|
noexcept |
◆ operator()() [2/2]
|
noexcept |
Access the FAB at a given level.
◆ operator=()
◆ repo()
|
inline |
Reference to the FieldRepo that holds the fabs.
◆ setVal() [1/3]
|
noexcept |
◆ setVal() [2/3]
|
noexcept |
◆ setVal() [3/3]
|
noexcept |
◆ vec_const_ptrs()
|
noexcept |
◆ vec_ptrs()
|
noexcept |
Friends And Related Symbol Documentation
◆ FieldRepo
|
friend |
Member Data Documentation
◆ m_floc
|
protected |
◆ m_id
|
protected |
◆ m_name
|
protected |
◆ m_ncomp
|
protected |
◆ m_ngrow
|
protected |
◆ m_repo
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/core/IntField.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/core/IntField.cpp
Generated by 1.12.0