field_ops Namespace Reference

AMR-Wind API: amr_wind::field_ops Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::field_ops Namespace Reference

Functions

template<typename T1 , typename T2 >
void add (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 >
void add (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost)
 
template<typename T1 , typename T2 >
void divide (T1 &dst, const T2 &src, const int srccomp, const int dstcomp, const int ncomp_src, const int ncomp_dst, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 >
void divide (T1 &dst, const T2 &src, const int srccomp, const int dstcomp, const int ncomp_src, const int ncomp_dst, const int nghost)
 
template<typename T1 , typename T2 >
void copy (T1 &dst, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 >
void copy (T1 &dst, const T2 &src, int srccomp, int dstcomp, int numcomp, int nghost)
 
template<typename T1 , typename T2 >
void saxpy (T1 &dst, const amrex::Real a, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 >
void saxpy (T1 &dst, const amrex::Real a, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const int nghost)
 
template<typename T1 , typename T2 >
void xpay (T1 &dst, const amrex::Real a, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 >
void xpay (T1 &dst, const amrex::Real a, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const int nghost)
 
template<typename T1 , typename T2 , typename T3 >
void lincomb (T1 &dst, const amrex::Real a, const T2 &x, const int xcomp, const amrex::Real b, const T3 &y, const int ycomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
 
template<typename T1 , typename T2 , typename T3 >
void lincomb (T1 &dst, const amrex::Real a, const T2 &x, const int xcomp, const amrex::Real b, const T3 &y, const int ycomp, const int dstcomp, const int numcomp, const int nghost)
 
template<typename FType >
void lower_bound (FType &field, const amrex::Real min_value, const int icomp=0)
 
template<typename FType >
amrex::Real global_max_magnitude (FType &field)
 
template<typename FType >
void normalize (FType &field)