PlaneFillInflow Class Reference

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

#include <PlaneFillInflow.H>

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

Public Member Functions

 PlaneFillInflow (Field &field, const amrex::AmrCore &mesh, const SimTime &time, const BoundaryPlane &bndry_plane)
 ~PlaneFillInflow () override
void fillpatch (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, FieldState fstate=FieldState::New) override
 Implementation that handles filling patches on a single level as well as across a coarse-fine interface.
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 > &bcrec, const amrex::Vector< amrex::BCRec > &, FieldState fstate=FieldState::New) override
 Implementation that handles filling patches on a single level as well as across a coarse-fine interface, for an array of different fields.
void fillpatch_from_coarse (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, 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, 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)
amrex::Vector< amrex::MultiFab * > get_mfab_vec (int lev)
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 (int lev, amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs)=0

Protected Attributes

const BoundaryPlanem_bndry_plane
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 BoundaryPlane class and populate data at the boundaries

See also
BoundaryPlane

Constructor & Destructor Documentation

◆ PlaneFillInflow()

amr_wind::PlaneFillInflow::PlaneFillInflow ( Field & field,
const amrex::AmrCore & mesh,
const SimTime & time,
const BoundaryPlane & bndry_plane )

◆ ~PlaneFillInflow()

amr_wind::PlaneFillInflow::~PlaneFillInflow ( )
overridedefault

Member Function Documentation

◆ fillpatch()

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

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

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillpatch_from_coarse()

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

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

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillpatch_sibling_fields()

void amr_wind::PlaneFillInflow::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,
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.

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillphysbc()

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

Implementation that handles filling physical boundary conditions.

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

Member Data Documentation

◆ m_bndry_plane

const BoundaryPlane& amr_wind::PlaneFillInflow::m_bndry_plane
protected

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