BiCellGridC Class Reference

The bisection cell-grid coarsener. More...

#include <GridCoarsener.hpp>

List of all members.

Public Member Functions

void PrintParam ()
 Prints the name and parameters.
bool GetCoarseSize (Array< int > &size)
 Computes the coarse sizes for given grid sizes.


Detailed Description

The bisection cell-grid coarsener.

If for some direction, the fine size is 'fine_size', and this size is even, the corresponding coarse size is set to coarse_size = fine_size / 2. Else it is assumed that the grid cannot be refined.


Member Function Documentation

void BiCellGridC::PrintParam (  ) 

Prints the name and parameters.

bool BiCellGridC::GetCoarseSize ( Array< int > &  size  ) 

Computes the coarse sizes for given grid sizes.

Parameters:
[in,out] size in: given fine grid sizes, out: coarse grid sizes
Returns:
non-zero if the coarser sizes can be computed, zero otherwise.


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 12:34:05 2007 for SG2 by  doxygen 1.5.2