FixedGradientBC Class Reference

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

#include <FixedGradientBC.H>

Inheritance diagram for amr_wind::FixedGradientBC:
[legend]
Collaboration diagram for amr_wind::FixedGradientBC:
[legend]

Public Member Functions

 FixedGradientBC (Field &field, amrex::Orientation ori)
 
void operator() (Field &field, const FieldState) override
 
- Public Member Functions inherited from amr_wind::FieldBCIface
virtual ~FieldBCIface ()=default
 

Private Attributes

Fieldm_field
 
amrex::Orientation m_ori
 

Detailed Description

Applies a non-zero gradient at the domain boundary

Used with the inhomogeneous Neumann linear solver BC to apply a user-specified fixed gradient at the domain boundary.

Constructor & Destructor Documentation

◆ FixedGradientBC()

amr_wind::FixedGradientBC::FixedGradientBC ( Field & field,
amrex::Orientation ori )

Member Function Documentation

◆ operator()()

void amr_wind::FixedGradientBC::operator() ( Field & field,
const FieldState  )
overridevirtual

Member Data Documentation

◆ m_field

Field& amr_wind::FixedGradientBC::m_field
private

◆ m_ori

amrex::Orientation amr_wind::FixedGradientBC::m_ori
private

The documentation for this class was generated from the following files: