OWModel< WaveTheoryTrait > Class Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::ocean_waves::OWModel< WaveTheoryTrait > Class Template Reference
#include <OceanWavesModel.H>
Inheritance diagram for amr_wind::ocean_waves::OWModel< WaveTheoryTrait >:
Collaboration diagram for amr_wind::ocean_waves::OWModel< WaveTheoryTrait >:
Public Member Functions | |
OWModel (CFDSim &sim, const std::string &label, const int id) | |
const std::string & | label () const override |
Return the unique identifier (name) for this instance. | |
int | id () const override |
Return the unique tag (integer ID) for this instance. | |
void | read_inputs (const ::amr_wind::utils::MultiParser &pp) override |
void | update_relax_zones () override |
void | apply_relax_zones () override |
void | prepare_outputs (const std::string &out_dir) override |
void | record_regrid_flag () override |
void | reset_regrid_flag () override |
void | write_outputs () override |
void | init_waves (int level, const amrex::Geometry &geom) override |
Static Public Member Functions | |
static std::string | identifier () |
Private Attributes | |
WaveTheoryTrait::DataType | m_data |
Instance that holds all data related to a particular wave type. | |
ops::ProcessOutputsOp< WaveTheoryTrait > | m_out_op |
Outputs processor. | |
Detailed Description
template<typename WaveTheoryTrait>
class amr_wind::ocean_waves::OWModel< WaveTheoryTrait >
class amr_wind::ocean_waves::OWModel< WaveTheoryTrait >
Concrete implementation of the WaveModel for different wave theories.
- Template Parameters
-
WaveTheoryTrait A wave theory trait that defines the behavior of the different actions (initialization, velocity update, free surface update) that are executed by the WaveModel class through the amr_wind::ocean_waves physics driver class.
Constructor & Destructor Documentation
◆ OWModel()
template<typename WaveTheoryTrait >
|
inline |
- Parameters
-
sim CFD simulation environment instance label Unique string identifier for this instance id Unique integer tag for this instance
Member Function Documentation
◆ apply_relax_zones()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ id()
template<typename WaveTheoryTrait >
|
inlineoverride |
Return the unique tag (integer ID) for this instance.
◆ identifier()
template<typename WaveTheoryTrait >
|
inlinestatic |
◆ init_waves()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ label()
template<typename WaveTheoryTrait >
|
inlineoverride |
Return the unique identifier (name) for this instance.
◆ prepare_outputs()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ read_inputs()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ record_regrid_flag()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ reset_regrid_flag()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ update_relax_zones()
template<typename WaveTheoryTrait >
|
inlineoverride |
◆ write_outputs()
template<typename WaveTheoryTrait >
|
inlineoverride |
Member Data Documentation
◆ m_data
template<typename WaveTheoryTrait >
|
private |
Instance that holds all data related to a particular wave type.
◆ m_out_op
template<typename WaveTheoryTrait >
|
private |
Outputs processor.
The documentation for this class was generated from the following file:
- /home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/OceanWavesModel.H
Generated by 1.12.0