Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DEMBL Class Reference

#include <DEMBL.H>

Inheritance diagram for DEMBL:

Inheritance graph
[legend]
Collaboration diagram for DEMBL:

Collaboration graph
[legend]
List of all members.

Public Methods

 DEMBL (const IntVect &a_ncell, const int &a_interpType, const Real &a_dx, const RealVect &a_vectDx)
virtual ~DEMBL ()
virtual bool readDEM (const bool &a_justhead)
virtual bool fixDEM ()
virtual bool isRegular (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
virtual bool isCovered (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
virtual pair< int, Side::LoHiSideupDirection (const RealVect &a_midpt, const IntVect &a_iv) const
virtual Real localFuncValue (const RealVect &a_independentCoords, const int &a_upDirection, const IntVect &a_iv, const Box &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual BaseLevelSetnew_baseLevelSet () const
virtual Real max (const RealVect &vec) const
virtual Real magnitude (const RealVect &vec) const

Protected Attributes

int m_ncols
int m_nrows
int m_NODATA
Real m_xllcorner
Real m_yllcorner
Real m_cellsize
Real m_cellvalue
Real ** m_DEM
Real m_dx
RealVect m_vectDx
IntVect m_ncell
int m_interpType
Real m_highground
Real m_minDEM
Real m_maxDEM

Private Methods

 DEMBL ()
 DEMBL (const DEMBL &a_radius)
void operator= (const DEMBL &a_radius)

Constructor & Destructor Documentation

DEMBL::DEMBL const IntVect   a_ncell,
const int &    a_interpType,
const Real   a_dx,
const RealVect   a_vectDx
 

virtual DEMBL::~DEMBL   [virtual]
 

DEMBL::DEMBL   [inline, private]
 

DEMBL::DEMBL const DEMBL &    a_radius [inline, private]
 


Member Function Documentation

virtual bool DEMBL::fixDEM   [virtual]
 

virtual bool DEMBL::isCovered const Box   region,
const Box   domain,
const RealVect   origin,
const Real   dx
const [virtual]
 

Return true if every cell in region is covered at the refinement described by dx.

Implements BaseLevelSet.

virtual bool DEMBL::isRegular const Box   region,
const Box   domain,
const RealVect   origin,
const Real   dx
const [virtual]
 

Return true if every cell in region is regular at the refinement described by dx.

Implements BaseLevelSet.

virtual Real DEMBL::localFuncValue const RealVect   a_independentCoords,
const int &    a_upDirection,
const IntVect   a_iv,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx
const [virtual]
 

Return the value at the dependent coordinate given the independent coordinates.

Implements BaseLevelSet.

virtual Real DEMBL::magnitude const RealVect   vec const [virtual]
 

virtual Real DEMBL::max const RealVect   vec const [virtual]
 

virtual BaseLevelSet* DEMBL::new_baseLevelSet   const [virtual]
 

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseLevelSet.

void DEMBL::operator= const DEMBL &    a_radius [inline, private]
 

virtual bool DEMBL::readDEM const bool &    a_justhead [virtual]
 

virtual pair<int, Side::LoHiSide> DEMBL::upDirection const RealVect   a_midpt,
const IntVect   a_iv
const [virtual]
 

This returns the signed integer which most closely represents the normal direction. The first integer of the pair is of the interface at an irregular cell (which coordinate direction has the largest normal component). This will only be called if the cell is irregular.

Implements BaseLevelSet.


Member Data Documentation

Real DEMBL::m_cellsize [protected]
 

Real DEMBL::m_cellvalue [protected]
 

Real** DEMBL::m_DEM [protected]
 

Real DEMBL::m_dx [protected]
 

Real DEMBL::m_highground [protected]
 

int DEMBL::m_interpType [protected]
 

Real DEMBL::m_maxDEM [protected]
 

Real DEMBL::m_minDEM [protected]
 

IntVect DEMBL::m_ncell [protected]
 

int DEMBL::m_ncols [protected]
 

int DEMBL::m_NODATA [protected]
 

int DEMBL::m_nrows [protected]
 

RealVect DEMBL::m_vectDx [protected]
 

Real DEMBL::m_xllcorner [protected]
 

Real DEMBL::m_yllcorner [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:06 2003 for EBChombo by doxygen1.2.16