Canoe
Comprehensive Atmosphere N' Ocean Engine
Kinetics Class Reference

#include <Kinetics.h>

Public Member Functions

 Kinetics (int, int, int=1)
 
void initialize ()
 
void assemble (double, double)
 
void checkout ()
 
void run (int)
 

Protected Attributes

RectGrid< Scalar, Dimensionm_grid
 
Variable< Scalar, 2 > m_psi
 
Variable< Scalar, 2 > m_eddy
 
Variable< Scalar, 2 > m_q
 
Advection< Scalar, 2, 4 > m_advection
 
Diffusion< Scalar, 2, 4 > m_diffusion
 
dealii::SparsityPattern m_pattern
 
dealii::SparseMatrix< Scalarm_mass
 
dealii::SparseMatrix< Scalarm_force
 
dealii::SparseMatrix< Scalarm_adj
 
dealii::Vector< Scalarm_src
 
dealii::Vector< Scalarm_rhs
 
dealii::Vector< Scalarm_bnd
 

Private Types

enum  { Dimension = 2 }
 
typedef double Scalar
 

Private Attributes

dealii::SparseMatrix< Scalarm_buffer
 

Detailed Description

Definition at line 10 of file Kinetics.h.

Member Typedef Documentation

◆ Scalar

typedef double Kinetics::Scalar
private

Definition at line 11 of file Kinetics.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
Dimension 

Definition at line 12 of file Kinetics.h.

Constructor & Destructor Documentation

◆ Kinetics()

Kinetics::Kinetics ( int  nrows,
int  ncols,
int  nhalo = 1 
)

Definition at line 6 of file Kinetics.cc.

Member Function Documentation

◆ initialize()

void Kinetics::initialize ( )

Definition at line 31 of file Kinetics.cc.

◆ assemble()

void Kinetics::assemble ( double  theta,
double  dt 
)

Definition at line 49 of file Kinetics.cc.

◆ checkout()

void Kinetics::checkout ( )

Definition at line 66 of file Kinetics.cc.

◆ run()

void Kinetics::run ( int  nt)

Definition at line 86 of file Kinetics.cc.

Member Data Documentation

◆ m_grid

RectGrid<Scalar, Dimension> Kinetics::m_grid
protected

Definition at line 15 of file Kinetics.h.

◆ m_psi

Variable<Scalar, 2> Kinetics::m_psi
protected

Definition at line 17 of file Kinetics.h.

◆ m_eddy

Variable<Scalar, 2> Kinetics::m_eddy
protected

Definition at line 17 of file Kinetics.h.

◆ m_q

Variable<Scalar, 2> Kinetics::m_q
protected

Definition at line 17 of file Kinetics.h.

◆ m_advection

Advection<Scalar, 2, 4> Kinetics::m_advection
protected

Definition at line 19 of file Kinetics.h.

◆ m_diffusion

Diffusion<Scalar, 2, 4> Kinetics::m_diffusion
protected

Definition at line 21 of file Kinetics.h.

◆ m_pattern

dealii::SparsityPattern Kinetics::m_pattern
protected

Definition at line 23 of file Kinetics.h.

◆ m_mass

dealii::SparseMatrix<Scalar> Kinetics::m_mass
protected

Definition at line 25 of file Kinetics.h.

◆ m_force

dealii::SparseMatrix<Scalar> Kinetics::m_force
protected

Definition at line 25 of file Kinetics.h.

◆ m_adj

dealii::SparseMatrix<Scalar> Kinetics::m_adj
protected

Definition at line 25 of file Kinetics.h.

◆ m_src

dealii::Vector<Scalar> Kinetics::m_src
protected

Definition at line 27 of file Kinetics.h.

◆ m_rhs

dealii::Vector<Scalar> Kinetics::m_rhs
protected

Definition at line 27 of file Kinetics.h.

◆ m_bnd

dealii::Vector<Scalar> Kinetics::m_bnd
protected

Definition at line 27 of file Kinetics.h.

◆ m_buffer

dealii::SparseMatrix<Scalar> Kinetics::m_buffer
private

Definition at line 41 of file Kinetics.h.


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