OceanWavesFillInflow Class Reference

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

#include <OceanWavesFillInflow.H>

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

Public Member Functions

 OceanWavesFillInflow (Field &field, const amrex::AmrCore &mesh, const SimTime &time, const OceanWavesBoundary &ow_bndry)
 
 ~OceanWavesFillInflow () override
 
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 > &bcrec, const amrex::Vector< amrex::BCRec > &, const FieldState fstate=FieldState::New) 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 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 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 OceanWavesBoundarym_ow_bndry
 
- 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 ()
 

Constructor & Destructor Documentation

◆ OceanWavesFillInflow()

amr_wind::OceanWavesFillInflow::OceanWavesFillInflow ( Field & field,
const amrex::AmrCore & mesh,
const SimTime & time,
const OceanWavesBoundary & ow_bndry )

◆ ~OceanWavesFillInflow()

amr_wind::OceanWavesFillInflow::~OceanWavesFillInflow ( )
overridedefault

Member Function Documentation

◆ fillpatch()

void amr_wind::OceanWavesFillInflow::fillpatch ( int lev,
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.

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillpatch_from_coarse()

void amr_wind::OceanWavesFillInflow::fillpatch_from_coarse ( int lev,
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.

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillpatch_sibling_fields()

void amr_wind::OceanWavesFillInflow::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 = 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::OceanWavesFillInflow::fillphysbc ( int lev,
amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
overridevirtual

Implementation that handles filling physical boundary conditions.

Reimplemented from amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

Member Data Documentation

◆ m_ow_bndry

const OceanWavesBoundary& amr_wind::OceanWavesFillInflow::m_ow_bndry
protected

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