ComputeRHSOp< PDE, Scheme > Struct Template Reference

AMR-Wind API: amr_wind::pde::ComputeRHSOp< PDE, Scheme > Struct Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::pde::ComputeRHSOp< PDE, Scheme > Struct Template Reference

#include <CompRHSOps.H>

Inheritance diagram for amr_wind::pde::ComputeRHSOp< PDE, Scheme >:
[legend]
Collaboration diagram for amr_wind::pde::ComputeRHSOp< PDE, Scheme >:
[legend]

Public Member Functions

 ComputeRHSOp (PDEFields &fields_in)
void predictor_rhs (const DiffusionType difftype, const amrex::Real dt, bool mesh_mapping)
void corrector_rhs (const DiffusionType difftype, const amrex::Real dt, bool mesh_mapping)
void improve_explicit_diff (const amrex::Real dt)
void explicit_rk2_post_hoc (const amrex::Real dt)

Public Attributes

PDEFieldsfields
Fielddensity

Detailed Description

template<typename PDE, typename Scheme>
struct amr_wind::pde::ComputeRHSOp< PDE, Scheme >

RHS computation operator

Accumulates the convective, diffusion, and source terms for predictor and corrector steps.

Constructor & Destructor Documentation

◆ ComputeRHSOp()

template<typename PDE, typename Scheme>
amr_wind::pde::ComputeRHSOp< PDE, Scheme >::ComputeRHSOp ( PDEFields & fields_in)
inlineexplicit

Member Function Documentation

◆ corrector_rhs()

template<typename PDE, typename Scheme>
void amr_wind::pde::ComputeRHSOp< PDE, Scheme >::corrector_rhs ( const DiffusionType difftype,
const amrex::Real dt,
bool mesh_mapping )
inline

Compute right-hand side for corrector steps

Parameters
difftypeIndicating whether time-integration is explicit/implicit
dttime step size
mesh_mappingflag to indicate if mesh mapping is used

◆ explicit_rk2_post_hoc()

template<typename PDE, typename Scheme>
void amr_wind::pde::ComputeRHSOp< PDE, Scheme >::explicit_rk2_post_hoc ( const amrex::Real dt)
inline

◆ improve_explicit_diff()

template<typename PDE, typename Scheme>
void amr_wind::pde::ComputeRHSOp< PDE, Scheme >::improve_explicit_diff ( const amrex::Real dt)
inline

◆ predictor_rhs()

template<typename PDE, typename Scheme>
void amr_wind::pde::ComputeRHSOp< PDE, Scheme >::predictor_rhs ( const DiffusionType difftype,
const amrex::Real dt,
bool mesh_mapping )
inline

Compute right-hand side for predictor steps

Parameters
difftypeIndicating whether time-integration is explicit/implicit
dttime step size
mesh_mappingflag to indicate if mesh mapping is used

Member Data Documentation

◆ density

template<typename PDE, typename Scheme>
Field& amr_wind::pde::ComputeRHSOp< PDE, Scheme >::density

◆ fields

template<typename PDE, typename Scheme>
PDEFields& amr_wind::pde::ComputeRHSOp< PDE, Scheme >::fields

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