Canoe
Comprehensive Atmosphere N' Ocean Engine
AngularMomentum Class Reference

#include <diagnostics.hpp>

Inheritance diagram for AngularMomentum:
[legend]

Public Member Functions

 AngularMomentum (MeshBlock *pmb)
 
virtual ~AngularMomentum ()
 
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)
 

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)
 
- 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_
 

Detailed Description

Definition at line 168 of file diagnostics.hpp.

Constructor & Destructor Documentation

◆ AngularMomentum()

AngularMomentum::AngularMomentum ( MeshBlock *  pmb)

Definition at line 25 of file angular_momentum.cpp.

◆ ~AngularMomentum()

virtual AngularMomentum::~AngularMomentum ( )
inlinevirtual

Definition at line 171 of file diagnostics.hpp.

Member Function Documentation

◆ Finalize()

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

Reimplemented from Diagnostics.

Definition at line 42 of file angular_momentum.cpp.


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