Canoe
Comprehensive Atmosphere N' Ocean Engine
Divergence Class Reference

#include <diagnostics.hpp>

Inheritance diagram for Divergence:
[legend]

Public Member Functions

 Divergence (MeshBlock *pmb)
 
virtual ~Divergence ()
 
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 > v1f1_
 
AthenaArray< Real > v2f2_
 
AthenaArray< Real > v3f3_
 
- 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 68 of file diagnostics.hpp.

Constructor & Destructor Documentation

◆ Divergence()

Divergence::Divergence ( MeshBlock *  pmb)

Definition at line 5 of file divergence.cpp.

◆ ~Divergence()

virtual Divergence::~Divergence ( )
inlinevirtual

Definition at line 71 of file diagnostics.hpp.

Member Function Documentation

◆ Finalize()

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

Reimplemented from Diagnostics.

Definition at line 17 of file divergence.cpp.

Member Data Documentation

◆ v1f1_

AthenaArray<Real> Divergence::v1f1_
protected

Definition at line 75 of file diagnostics.hpp.

◆ v2f2_

AthenaArray<Real> Divergence::v2f2_
protected

Definition at line 75 of file diagnostics.hpp.

◆ v3f3_

AthenaArray<Real> Divergence::v3f3_
protected

Definition at line 75 of file diagnostics.hpp.


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