OceanWavesDataHolder< OceanWavesTrait > Class Template Reference

AMR-Wind API: amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait > Class Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait > Class Template Reference

#include <OceanWavesTypes.H>

Collaboration diagram for amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >:
[legend]

Public Member Functions

 OceanWavesDataHolder (CFDSim &sim, const std::string &label, const int id)
 
CFDSimsim ()
 
const CFDSimsim () const
 
OceanWavesTrait::InfoType & info ()
 
const OceanWavesTrait::InfoType & info () const
 
OceanWavesTrait::MetaType & meta ()
 
const OceanWavesTrait::MetaType & meta () const
 

Private Attributes

CFDSimm_sim
 Instance of the CFD simulation environment.
 
OceanWavesTrait::InfoType m_info
 
OceanWavesTrait::MetaType m_meta
 Additional data necessary for a given wavem type.
 

Detailed Description

template<typename OceanWavesTrait>
class amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >

Abstract representation of data holder for specific ocean waves types.

Constructor & Destructor Documentation

◆ OceanWavesDataHolder()

template<typename OceanWavesTrait >
amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::OceanWavesDataHolder ( CFDSim & sim,
const std::string & label,
const int id )
inline

Initialize the data structures

Parameters
simInstance of the CFD simulation environment
labelUnique string identifier for this immersed boundary component
idUnique global integer identifier for this immersed boundary component

Member Function Documentation

◆ info() [1/2]

template<typename OceanWavesTrait >
OceanWavesTrait::InfoType & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::info ( )
inline

◆ info() [2/2]

template<typename OceanWavesTrait >
const OceanWavesTrait::InfoType & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::info ( ) const
inline

◆ meta() [1/2]

template<typename OceanWavesTrait >
OceanWavesTrait::MetaType & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::meta ( )
inline

◆ meta() [2/2]

template<typename OceanWavesTrait >
const OceanWavesTrait::MetaType & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::meta ( ) const
inline

◆ sim() [1/2]

template<typename OceanWavesTrait >
CFDSim & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::sim ( )
inline

◆ sim() [2/2]

template<typename OceanWavesTrait >
const CFDSim & amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::sim ( ) const
inline

Member Data Documentation

◆ m_info

template<typename OceanWavesTrait >
OceanWavesTrait::InfoType amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::m_info
private

Basic information about this ocean waves component in relation to the simulation (usually IBInfo)

◆ m_meta

template<typename OceanWavesTrait >
OceanWavesTrait::MetaType amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::m_meta
private

Additional data necessary for a given wavem type.

◆ m_sim

template<typename OceanWavesTrait >
CFDSim& amr_wind::ocean_waves::OceanWavesDataHolder< OceanWavesTrait >::m_sim
private

Instance of the CFD simulation environment.


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