PhysicsOld Class Reference

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

#include <Physics.H>

Public Member Functions

virtual ~PhysicsOld ()=default
 
virtual std::string physics_name () const =0
 
virtual void initialize_fields (int level, const amrex::Geometry &geom) const =0
 Initialize the fields for the physics/problem.
 
virtual void pre_advance_work ()=0
 Perform tasks necessary before advancing timestep.
 
virtual void add_momentum_sources (const amrex::Geometry &geom, const amrex::MultiFab &density, const amrex::MultiFab &velocity, const amrex::MultiFab &scalars, amrex::MultiFab &vel_forces) const =0
 Add momentum source terms.
 

Constructor & Destructor Documentation

◆ ~PhysicsOld()

virtual amr_wind::PhysicsOld::~PhysicsOld ( )
virtualdefault

Member Function Documentation

◆ add_momentum_sources()

virtual void amr_wind::PhysicsOld::add_momentum_sources ( const amrex::Geometry & geom,
const amrex::MultiFab & density,
const amrex::MultiFab & velocity,
const amrex::MultiFab & scalars,
amrex::MultiFab & vel_forces ) const
pure virtual

Add momentum source terms.

◆ initialize_fields()

virtual void amr_wind::PhysicsOld::initialize_fields ( int level,
const amrex::Geometry & geom ) const
pure virtual

Initialize the fields for the physics/problem.

◆ physics_name()

virtual std::string amr_wind::PhysicsOld::physics_name ( ) const
pure virtual

◆ pre_advance_work()

virtual void amr_wind::PhysicsOld::pre_advance_work ( )
pure virtual

Perform tasks necessary before advancing timestep.


The documentation for this class was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/core/Physics.H