Canoe
Comprehensive Atmosphere N' Ocean Engine
Buoyancy Class Reference

#include <diagnostics.hpp>

Inheritance diagram for Buoyancy:
[legend]

Public Member Functions

 Buoyancy (MeshBlock *pmb)
 
virtual ~Buoyancy ()
 
void Finalize (AthenaArray< Real > const &w)
 
- Public Member Functions inherited from Diagnostics
 Diagnostics (MeshBlock *pmb, ParameterInput *pin)
 
 Diagnostics (MeshBlock *pmb, std::string name)
 
virtual ~Diagnostics ()
 
Diagnosticsoperator[] (std::string name)
 
template<typename Dg >
DiagnosticsAddDiagnostics (Dg const &d)
 
virtual void Progress (AthenaArray< Real > const &w)
 

Protected Attributes

AthenaArray< Real > pf_
 
Real grav_
 
- Protected Attributes inherited from Diagnostics
MeshBlock * pmy_block_
 
int ncells1_
 
int ncells2_
 
int ncells3_
 
AthenaArray< Real > mean_
 mean and eddy component More...
 
AthenaArray< Real > eddy_
 
std::vector< int > color_
 MPI color of each rank. More...
 
std::vector< int > brank_
 rank of the bottom block More...
 
AthenaArray< Real > x1area_
 scratch geometric arrays More...
 
AthenaArray< Real > x2area_
 
AthenaArray< Real > x2area_p1_
 
AthenaArray< Real > x3area_
 
AthenaArray< Real > x3area_p1_
 
AthenaArray< Real > vol_
 
AthenaArray< Real > total_vol_
 
AthenaArray< Real > x1edge_
 
AthenaArray< Real > x1edge_p1_
 
AthenaArray< Real > x2edge_
 
AthenaArray< Real > x2edge_p1_
 
AthenaArray< Real > x3edge_
 
AthenaArray< Real > x3edge_p1_
 

Additional Inherited Members

- Public Attributes inherited from Diagnostics
std::string myname
 
std::string type
 
std::string grid
 
std::string varname
 
std::string long_name
 
std::string units
 
Diagnosticsprev
 
Diagnosticsnext
 
AthenaArray< Real > data
 
int ncycle
 
- Protected Member Functions inherited from Diagnostics
void setColor_ (int *color, CoordinateDirection dir)
 
void gatherAllData23_ (AthenaArray< Real > &total_vol, AthenaArray< Real > &total_data)
 

Detailed Description

Definition at line 147 of file diagnostics.hpp.

Constructor & Destructor Documentation

◆ Buoyancy()

Buoyancy::Buoyancy ( MeshBlock *  pmb)

Definition at line 7 of file buoyancy.cpp.

◆ ~Buoyancy()

virtual Buoyancy::~Buoyancy ( )
inlinevirtual

Definition at line 150 of file diagnostics.hpp.

Member Function Documentation

◆ Finalize()

void Buoyancy::Finalize ( AthenaArray< Real > const &  w)
virtual

Reimplemented from Diagnostics.

Definition at line 16 of file buoyancy.cpp.

Member Data Documentation

◆ pf_

AthenaArray<Real> Buoyancy::pf_
protected

Definition at line 154 of file diagnostics.hpp.

◆ grav_

Real Buoyancy::grav_
protected

Definition at line 155 of file diagnostics.hpp.


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