|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::add (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, const amrex::IntVect &nghost) |
| Add two fields \(y = x + y\). More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::add (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost) |
| Add two fields \(y = x + y\). More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::copy (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, const amrex::IntVect &nghost) |
| Copy source field to destination field. More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::copy (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost) |
| Copy source field to destination field. More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::saxpy (T1 &dst, amrex::Real a, const T2 &src, int srccomp, int dstcomp, int numcomp, const amrex::IntVect &nghost) |
| Perform operation \(y = a x + y\). More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::saxpy (T1 &dst, amrex::Real a, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost) |
| Perform operation \(y = a x + y\). More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::xpay (T1 &dst, amrex::Real a, const T2 &src, int srccomp, int dstcomp, int numcomp, const amrex::IntVect &nghost) |
| Perform operation \(y = x + a y\). More...
|
|
template<typename T1 , typename T2 > |
void | amr_wind::field_ops::xpay (T1 &dst, amrex::Real a, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost) |
| Perform operation \(y = x + a y\). More...
|
|
template<typename T1 , typename T2 , typename T3 > |
void | amr_wind::field_ops::lincomb (T1 &dst, amrex::Real a, const T2 &x, int xcomp, amrex::Real b, const T3 &y, int ycomp, int dstcomp, int numcomp, const amrex::IntVect &nghost) |
| Perform operation \(z = a x + b y\). More...
|
|
template<typename T1 , typename T2 , typename T3 > |
void | amr_wind::field_ops::lincomb (T1 &dst, amrex::Real a, const T2 &x, int xcomp, amrex::Real b, const T3 &y, int ycomp, int dstcomp, int numcomp, int nghost) |
| Perform operation \(z = a x + b y\). More...
|
|
template<typename FType > |
void | amr_wind::field_ops::lower_bound (FType &field, const amrex::Real min_value, const int icomp=0) |
| Set the lower bound for a given scalar field. More...
|
|
template<typename FType > |
amrex::Real | amr_wind::field_ops::global_max_magnitude (FType &field) |
| Computes the global maximum of a field from all levels. More...
|
|
template<typename FType > |
void | amr_wind::field_ops::normalize (FType &field) |
| Normalizes a field using its magnitude. More...
|
|
amrex::IndexType | amr_wind::field_impl::index_type (const FieldLoc floc) |
| Convert amr_wind::FieldLoc to index type for use with AMReX objects. More...
|
|
std::string | amr_wind::field_impl::field_name_with_state (const std::string &fname, const FieldState fstate) |
| Given a base field name and a state, return a unique string that identifies this state in the field repository. More...
|
|
bool | amr_wind::field_impl::is_valid_field_name (const std::string &name) |
| Check if the field is not a reserved field name. More...
|
|
amrex::Interpolater * | amr_wind::field_impl::get_interpolation_operator (const FieldInterpolator itype) |
| Return an AMReX coarse-to-fine field interpolation object based on amr_wind::FieldInterpolator. More...
|
|
Operators for manipulating fields and computing derived quantities.
This group documents functions that provide various operations defined on the field. These operations can be grouped into two major categories: simple linear algebra operations (e.g., saxpy), and discretization operators such as gradient, laplacian computations.