FieldComponents Struct Reference

AMR-Wind API: amr_wind::derived::FieldComponents Struct Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::derived::FieldComponents Struct Reference

#include <DerivedQtyDefs.H>

Inheritance diagram for amr_wind::derived::FieldComponents:
[legend]
Collaboration diagram for amr_wind::derived::FieldComponents:
[legend]

Public Member Functions

 FieldComponents (const FieldRepo &repo, const std::vector< std::string > &args)
 
std::string name () const override
 
int num_comp () const override
 
void var_names (amrex::Vector< std::string > &plt_var_names) override
 
void operator() (ScratchField &fld, const int scomp=0) const override
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

const Fieldm_fld
 
amrex::Vector< int > m_comp
 
int m_ncomp {0}
 

Constructor & Destructor Documentation

◆ FieldComponents()

amr_wind::derived::FieldComponents::FieldComponents ( const FieldRepo & repo,
const std::vector< std::string > & args )

Member Function Documentation

◆ identifier()

static std::string amr_wind::derived::FieldComponents::identifier ( )
inlinestatic

◆ name()

std::string amr_wind::derived::FieldComponents::name ( ) const
inlineoverride

◆ num_comp()

int amr_wind::derived::FieldComponents::num_comp ( ) const
inlineoverride

◆ operator()()

void amr_wind::derived::FieldComponents::operator() ( ScratchField & fld,
const int scomp = 0 ) const
override

◆ var_names()

void amr_wind::derived::FieldComponents::var_names ( amrex::Vector< std::string > & plt_var_names)
override

Member Data Documentation

◆ m_comp

amrex::Vector<int> amr_wind::derived::FieldComponents::m_comp
private

◆ m_fld

const Field* amr_wind::derived::FieldComponents::m_fld
private

◆ m_ncomp

int amr_wind::derived::FieldComponents::m_ncomp {0}
private

The documentation for this struct was generated from the following files: