DerivedQty Class Reference

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

#include <DerivedQuantity.H>

Inheritance diagram for amr_wind::DerivedQty:
[legend]
Collaboration diagram for amr_wind::DerivedQty:
[legend]

Public Member Functions

 ~DerivedQty () override=default
 
virtual std::string name () const =0
 
virtual int num_comp () const =0
 
virtual void operator() (ScratchField &fld, const int scomp=0) const =0
 
virtual void var_names (amrex::Vector< std::string > &)
 
- Public Member Functions inherited from amr_wind::Factory< DerivedQty, const FieldRepo &, std::vector< std::string > & >
virtual ~Factory ()=default
 

Static Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from amr_wind::Factory< DerivedQty, const FieldRepo &, std::vector< std::string > & >
friend Base
 

Constructor & Destructor Documentation

◆ ~DerivedQty()

amr_wind::DerivedQty::~DerivedQty ( )
overridedefault

Member Function Documentation

◆ base_identifier()

static std::string amr_wind::DerivedQty::base_identifier ( )
inlinestatic

◆ name()

virtual std::string amr_wind::DerivedQty::name ( ) const
pure virtual

◆ num_comp()

virtual int amr_wind::DerivedQty::num_comp ( ) const
pure virtual

◆ operator()()

virtual void amr_wind::DerivedQty::operator() ( ScratchField & fld,
const int scomp = 0 ) const
pure virtual

◆ var_names()

void amr_wind::DerivedQty::var_names ( amrex::Vector< std::string > & plt_var_names)
virtual

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