BiNodalGridC Class Reference

The bisection nodal-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)
 GetCoarseSize - computes the coarse sizes for given grid sizes.


Detailed Description

The bisection nodal-grid coarsener.

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


Member Function Documentation

void BiNodalGridC::PrintParam (  ) 

Prints the name and parameters.

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

GetCoarseSize - 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