chombo-discharge
Public Member Functions | Protected Attributes | List of all members
GeoCoarsener Class Reference

Utility class for removing geometrically tagged cells. More...

#include <CD_GeoCoarsener.H>

Public Member Functions

 GeoCoarsener ()
 Constructor. This parses boxes/voxels from the input script.
 
virtual ~GeoCoarsener ()
 Destructor (does nothing)
 
virtual void coarsenTags (Vector< IntVectSet > &a_tags, const Vector< Real > &a_dx, const RealVect &a_probLo) const
 Coarsen tags. More...
 
virtual Vector< RealBoxgetCoarsenBoxes () const
 Get coarsening boxes.
 
virtual Vector< int > getCoarsenLevels () const
 Get coarsening levels.
 

Protected Attributes

Vector< RealBoxm_coarsenBoxes
 Coarsening boxes.
 
Vector< int > m_coarsenLevels
 Coarsening levels. Tags are removed above this level.
 
Vector< int > m_inverse
 Inverse box or not.
 

Detailed Description

Utility class for removing geometrically tagged cells.

This class is an optimization class for coarsening of EBs. The usage of this class is simple; the user defines a set of boxes in which we will remove tags.

Member Function Documentation

◆ coarsenTags()

void GeoCoarsener::coarsenTags ( Vector< IntVectSet > &  a_tags,
const Vector< Real > &  a_dx,
const RealVect &  a_probLo 
) const
virtual

Coarsen tags.

Parameters
[in]a_tagsTags to be modified.
[in]a_dxGrid resolutions.
[in]a_probLoLower-left corner of simulation domain.

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