Ember
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
GridBased Class Reference

A "mix-in" class used by classes that need frequent access to grid parameters. More...

#include <grid.h>

Inheritance diagram for GridBased:
[legend]

Public Member Functions

 GridBased ()
 
virtual ~GridBased ()
 
virtual void setGrid (const OneDimGrid &grid)
 Copy the specified grid to this object.
 

Public Attributes

OneDimGrid grid
 the actual grid
 

Protected Attributes

dvecx
 The coordinates of the grid points [m].
 
dvecr
 "radius" at x[j].
 
dvecrphalf
 "radius" at x[j+1/2].
 
dvechh
 Grid spacing between x[j] and x[j+1].
 
dvecdlj
 Average of left and right grid spacing.
 
dveccfm
 Coefficient for y[j-1] in first centered difference.
 
dveccf
 Coefficient for y[j] in first centered difference.
 
dveccfp
 Coefficient for y[j+1] in first centered difference.
 
int & alpha
 curved grid exponent.
 
int & beta
 curved grid exponent.
 
size_t & nPoints
 number of grid point
 
size_t & jj
 index of last grid point (== nPoints-1)
 

Detailed Description

A "mix-in" class used by classes that need frequent access to grid parameters.

Constructor & Destructor Documentation

◆ GridBased()

GridBased::GridBased ( )

◆ ~GridBased()

virtual GridBased::~GridBased ( )
inlinevirtual

Member Function Documentation

◆ setGrid()

void GridBased::setGrid ( const OneDimGrid grid)
virtual

Copy the specified grid to this object.

Reimplemented in ConvectionSystemSplit.

Member Data Documentation

◆ grid

OneDimGrid GridBased::grid

the actual grid

◆ x

dvec& GridBased::x
protected

The coordinates of the grid points [m].

◆ r

dvec& GridBased::r
protected

"radius" at x[j].

Equal to 1 for planar geometries.

◆ rphalf

dvec& GridBased::rphalf
protected

"radius" at x[j+1/2].

Equal to 1 for planar geometries.

◆ hh

dvec& GridBased::hh
protected

Grid spacing between x[j] and x[j+1].

◆ dlj

dvec& GridBased::dlj
protected

Average of left and right grid spacing.

◆ cfm

dvec& GridBased::cfm
protected

Coefficient for y[j-1] in first centered difference.

◆ cf

dvec& GridBased::cf
protected

Coefficient for y[j] in first centered difference.

◆ cfp

dvec& GridBased::cfp
protected

Coefficient for y[j+1] in first centered difference.

◆ alpha

int& GridBased::alpha
protected

curved grid exponent.

alpha = 1 for curved flames, 0 for planar flames and axisymmetric jet flames.

◆ beta

int& GridBased::beta
protected

curved grid exponent.

beta = 2 for axisymmetric jet flames, 1 for planar flames and curved flames.

◆ nPoints

size_t& GridBased::nPoints
protected

number of grid point

◆ jj

size_t& GridBased::jj
protected

index of last grid point (== nPoints-1)


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