ABLFillMPL Class Reference

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

#include <ABLFillMPL.H>

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

Public Member Functions

 ABLFillMPL (Field &field, const amrex::AmrCore &mesh, const SimTime &time, const ABLModulatedPowerLaw &abl_mpl)
 
 ~ABLFillMPL () override
 
void fillpatch (const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
 
void fillpatch_sibling_fields (const int lev, const amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &mfabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &ffabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &cfabs, const amrex::IntVect &nghost, const amrex::Vector< amrex::BCRec > &bcrec, const amrex::Vector< amrex::BCRec > &, const FieldState fstate=FieldState::New) override
 
void fillpatch_from_coarse (const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
 Implementation that handles filling patches from a coarse to fine level.
 
void fillphysbc (const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
 Implementation that handles filling physical boundary conditions.
 
- Public Member Functions inherited from amr_wind::FieldFillPatchOps< FieldBCDirichlet >
 FieldFillPatchOps (Field &field, const amrex::AmrCore &mesh, const SimTime &time, FieldInterpolator itype=FieldInterpolator::CellConsLinear, FieldInterpolator face_itype=FieldInterpolator::FaceDivFree)
 
 FieldFillPatchOps (Field &field, const amrex::AmrCore &mesh, const SimTime &time, const FieldBCDirichlet &bc_op, FieldInterpolator itype=FieldInterpolator::CellConsLinear, FieldInterpolator face_itype=FieldInterpolator::FaceDivFree)
 
amrex::Vector< amrex::MultiFab * > get_mfab_vec (int lev)
 
void fillpatch (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
 
void fillpatch_sibling_fields (int lev, amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &mfabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &ffabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &cfabs, const amrex::IntVect &nghost, const amrex::Vector< amrex::BCRec > &fillpatch_bcrec, const amrex::Vector< amrex::BCRec > &physbc_bcrec, const FieldState) override
 
void fillpatch_from_coarse (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
 Implementation that handles filling patches from a coarse to fine level.
 
void fillphysbc (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState) override
 Implementation that handles filling physical boundary conditions.
 
void set_inflow (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState) override
 
void set_inflow_sibling_fields (const int lev, const amrex::Real time, const amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs) override
 
- Public Member Functions inherited from amr_wind::FieldFillPatchOpsBase
 FieldFillPatchOpsBase ()=default
 
virtual ~FieldFillPatchOpsBase ()=default
 
virtual void set_inflow_sibling_fields (const int lev, const amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs)=0
 

Protected Attributes

const ABLModulatedPowerLawm_abl_mpl
 
- Protected Attributes inherited from amr_wind::FieldFillPatchOps< FieldBCDirichlet >
const SimTimem_time
 
const amrex::AmrCore & m_mesh
 
Fieldm_field
 
const FieldBCDirichlet m_op
 
amrex::Interpolater * m_mapper
 Function that handles interpolation from coarse to fine level.
 
amrex::Interpolater * m_face_mapper
 Function that handles interpolation from coarse to fine level for faces.
 

Additional Inherited Members

- Public Types inherited from amr_wind::FieldFillPatchOps< FieldBCDirichlet >
using Functor
 
- Protected Member Functions inherited from amr_wind::FieldFillPatchOps< FieldBCDirichlet >
Functor bc_functor ()
 
Functor bc_functor_face (const int face_dir)
 
void check_face_mapper ()
 

Detailed Description

Operations to perform inflow of data from boundary planes

This class contains the operations necessary to interface with ABLBoundaryPlane class and populate data at the boundaries

See also
ABLBoundaryPlane

Constructor & Destructor Documentation

◆ ABLFillMPL()

amr_wind::ABLFillMPL::ABLFillMPL ( Field & field,
const amrex::AmrCore & mesh,
const SimTime & time,
const ABLModulatedPowerLaw & abl_mpl )

◆ ~ABLFillMPL()

amr_wind::ABLFillMPL::~ABLFillMPL ( )
overridedefault

Member Function Documentation

◆ fillpatch()

void amr_wind::ABLFillMPL::fillpatch ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
overridevirtual

Implementation that handles filling patches on a single level as well as across a coarse-fine interface.

Implements amr_wind::FieldFillPatchOpsBase.

◆ fillpatch_from_coarse()

void amr_wind::ABLFillMPL::fillpatch_from_coarse ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
overridevirtual

Implementation that handles filling patches from a coarse to fine level.

Implements amr_wind::FieldFillPatchOpsBase.

◆ fillpatch_sibling_fields()

void amr_wind::ABLFillMPL::fillpatch_sibling_fields ( const int lev,
const amrex::Real time,
amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > & mfabs,
amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > & ffabs,
amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > & cfabs,
const amrex::IntVect & nghost,
const amrex::Vector< amrex::BCRec > & fillpatch_bcrec,
const amrex::Vector< amrex::BCRec > & physbc_bcrec,
const FieldState fstate = FieldState::New )
overridevirtual

Implementation that handles filling patches on a single level as well as across a coarse-fine interface, for an array of different fields

Implements amr_wind::FieldFillPatchOpsBase.

◆ fillphysbc()

void amr_wind::ABLFillMPL::fillphysbc ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
overridevirtual

Implementation that handles filling physical boundary conditions.

Implements amr_wind::FieldFillPatchOpsBase.

Member Data Documentation

◆ m_abl_mpl

const ABLModulatedPowerLaw& amr_wind::ABLFillMPL::m_abl_mpl
protected

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFillMPL.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFillMPL.cpp