Gradient< FTypeIn, FTypeOut > Struct Template Reference

AMR-Wind API: amr_wind::fvm::Gradient< FTypeIn, FTypeOut > Struct Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::fvm::Gradient< FTypeIn, FTypeOut > Struct Template Reference

#include <gradient.H>

Public Member Functions

 Gradient (FTypeOut &gradphi, const FTypeIn &phi)
 
template<typename Stencil >
void apply (const int lev, const amrex::MFIter &mfi) const
 

Public Attributes

FTypeOut & m_gradphi
 
const FTypeIn & m_phi
 

Detailed Description

template<typename FTypeIn, typename FTypeOut>
struct amr_wind::fvm::Gradient< FTypeIn, FTypeOut >

Gradient operator

Constructor & Destructor Documentation

◆ Gradient()

template<typename FTypeIn , typename FTypeOut >
amr_wind::fvm::Gradient< FTypeIn, FTypeOut >::Gradient ( FTypeOut & gradphi,
const FTypeIn & phi )
inline
Parameters
gradphiThe gradient field \(\nabla \mathbf{\phi}\)
phiThe input file \(\phi\)

Member Function Documentation

◆ apply()

template<typename FTypeIn , typename FTypeOut >
template<typename Stencil >
void amr_wind::fvm::Gradient< FTypeIn, FTypeOut >::apply ( const int lev,
const amrex::MFIter & mfi ) const
inline

Member Data Documentation

◆ m_gradphi

template<typename FTypeIn , typename FTypeOut >
FTypeOut& amr_wind::fvm::Gradient< FTypeIn, FTypeOut >::m_gradphi

◆ m_phi

template<typename FTypeIn , typename FTypeOut >
const FTypeIn& amr_wind::fvm::Gradient< FTypeIn, FTypeOut >::m_phi

The documentation for this struct was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/fvm/gradient.H