MomentumSource Class Reference

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

#include <MomentumSource.H>

Inheritance diagram for amr_wind::pde::MomentumSource:
[legend]
Collaboration diagram for amr_wind::pde::MomentumSource:
[legend]

Public Member Functions

 ~MomentumSource () override=default
 
virtual void operator() (const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const =0
 
- Public Member Functions inherited from amr_wind::Factory< MomentumSource, const CFDSim & >
virtual ~Factory ()=default
 

Static Public Member Functions

static std::string base_identifier ()
 
- Static Public Member Functions inherited from amr_wind::Factory< MomentumSource, const CFDSim & >
static std::unique_ptr< MomentumSource > create (const std::string &key, Args... args)
 
static void print (std::ostream &os)
 

Additional Inherited Members

- Public Attributes inherited from amr_wind::Factory< MomentumSource, const CFDSim & >
friend Base
 

Detailed Description

Representation of a momentum source term

All momentum source terms must inherit from this class

Constructor & Destructor Documentation

◆ ~MomentumSource()

amr_wind::pde::MomentumSource::~MomentumSource ( )
overridedefault

Member Function Documentation

◆ base_identifier()

static std::string amr_wind::pde::MomentumSource::base_identifier ( )
inlinestatic

◆ operator()()

virtual void amr_wind::pde::MomentumSource::operator() ( const int lev,
const amrex::MFIter & mfi,
const amrex::Box & bx,
const FieldState fstate,
const amrex::Array4< amrex::Real > & src_term ) const
pure virtual

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