#include <IFData.H>
Public Types | |
typedef IndexTM< int, dim > | EdgeIndex |
typedef map< EdgeIndex, Real > | EdgeIntersections |
typedef IndexTM< int, dim > | Vertex |
typedef map< Vertex, int > | CornerSigns |
typedef IndexTM< int, dim > | IvDim |
typedef IndexTM< Real, dim > | RvDim |
typedef map< IvDim, RvDim > | NormalDerivatives |
Public Member Functions | |
IFData () | |
IFData (const IFData< dim > &a_IFData) | |
IFData (const BaseIF &a_function, const RvDim &a_dx, const RvDim &a_origin, const int &a_maxOrder) | |
IFData (IFSlicer< dim > *a_function, const RvDim &a_dx, const RvDim &a_origin, const int &a_maxOrder) | |
IFData (const IFData< dim+1 > &a_hInfo, const int &a_maxOrder, const int &a_idir, const int &a_hilo) | |
~IFData () | |
void | setNormalDerivatives () |
void | makeCornerSigns () |
void | findIntersectionPts () |
void | defineLocalCoords () |
bool | isConnected (int &a_edgeDir, const Vertex &a_vertex1, const Vertex &a_vertex2) |
void | makeEdgeKey (const int &a_edgeDir, const Vertex &a_vertex1, const Vertex &a_vertex2) |
Real | rootFinder (const EdgeIndex &a_thisEdge) |
Real | BrentRootFinder (const RvDim &a_loPt, const RvDim &a_hiPt, const int &a_edgeDir) const |
void | checkIntersection (bool &a_hiOn, bool &a_loOn, const Real &a_pt) const |
void | remakeCornerSigns () |
void | print (ostream &out) const |
void | operator= (const IFData &a_ifData) |
void | setChangingDirection () |
bool | searchNormalDir (const int i) const |
Public Attributes | |
CornerSigns | m_cornerSigns |
EdgeIntersections | m_intersections |
IFSlicer< dim > * | m_function |
CoordinateSystem< dim > | m_globalCoord |
CoordinateSystem< dim > | m_cellCenterCoord |
CoordinateSystem< dim > | m_parentCoord |
CoordinateSystem< dim > | m_localCoord |
int | m_maxOrder |
NormalDerivatives | m_normalDerivatives |
bool | m_badNormal |
bool | m_allVerticesIn |
bool | m_allVerticesOut |
bool | m_allVerticesOn |
typedef map<EdgeIndex,Real > IFData< dim >::EdgeIntersections |
typedef map<Vertex,int > IFData< dim >::CornerSigns |
typedef map<IvDim,RvDim > IFData< dim >::NormalDerivatives |
References IFData< dim >::m_function.
References CH_TIME, and IFData< dim >::m_function.
IFData< dim >::IFData | ( | const IFData< dim+1 > & | a_hInfo, | |
const int & | a_maxOrder, | |||
const int & | a_idir, | |||
const int & | a_hilo | |||
) | [inline] |
References CH_TIME, IFData< dim >::defineLocalCoords(), dim, IN, IFData< dim >::m_allVerticesIn, IFData< dim >::m_allVerticesOn, IFData< dim >::m_allVerticesOut, IFData< dim >::m_badNormal, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_cornerSigns, IFData< dim >::m_function, IFData< dim >::m_globalCoord, IFData< dim >::m_intersections, IFData< dim >::m_localCoord, IFData< dim >::m_maxOrder, IFData< dim >::m_parentCoord, OUT, and IFData< dim >::setNormalDerivatives().
References IFData< dim >::m_function.
References NormalDerivativeNew< dim >::calculateAll(), CH_TIME, dim, generateMultiIndices(), IFData< dim >::m_badNormal, IFData< dim >::m_function, IFData< dim >::m_globalCoord, IFData< dim >::m_localCoord, IFData< dim >::m_maxOrder, IFData< dim >::m_normalDerivatives, Vector< T >::size(), and IndexTM< T, N >::Zero.
Referenced by IFData< dim >::IFData().
References CH_TIME, dim, IN, IFData< dim >::m_allVerticesIn, IFData< dim >::m_allVerticesOn, IFData< dim >::m_allVerticesOut, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_cornerSigns, IFData< dim >::m_function, IFData< dim >::m_globalCoord, MACHINEPRECISION, ON, and OUT.
Referenced by IFData< dim >::IFData().
References CH_TIME, IFData< dim >::isConnected(), LARGEINTVAL, IFData< dim >::m_cornerSigns, and IFData< dim >::makeEdgeKey().
Referenced by IFData< dim >::IFData().
the stuff below makes convergence tests do weird things but makes for better answers
References CH_TIME, dim, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_globalCoord, IFData< dim >::m_intersections, IFData< dim >::m_localCoord, LocalCoordMoveSwitch::s_turnOffMoveLocalCoords, and IndexTM< T, N >::Zero.
Referenced by IFData< dim >::IFData().
void IFData< dim >::makeEdgeKey | ( | const int & | a_edgeDir, | |
const Vertex & | a_vertex1, | |||
const Vertex & | a_vertex2 | |||
) | [inline] |
References MayDay::Abort(), CH_TIME, IFData< dim >::checkIntersection(), dim, IN, LARGEINTVAL, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_cornerSigns, IFData< dim >::m_intersections, ON, OUT, IFData< dim >::remakeCornerSigns(), and IFData< dim >::rootFinder().
Referenced by IFData< dim >::findIntersectionPts().
References IFData< dim >::BrentRootFinder(), CH_TIME, dim, LARGEREALVAL, IFData< dim >::m_cellCenterCoord, and IFData< dim >::m_globalCoord.
Referenced by IFData< dim >::makeEdgeKey().
Real IFData< dim >::BrentRootFinder | ( | const RvDim & | a_loPt, | |
const RvDim & | a_hiPt, | |||
const int & | a_edgeDir | |||
) | const [inline] |
References MayDay::Abort(), Abs(), CH_TIME, IFData< dim >::m_function, Min(), pout(), and TOLERANCE.
Referenced by IFData< dim >::rootFinder().
References IN, IFData< dim >::m_allVerticesIn, IFData< dim >::m_allVerticesOn, IFData< dim >::m_allVerticesOut, IFData< dim >::m_cornerSigns, ON, and OUT.
Referenced by IFData< dim >::makeEdgeKey().
References dim, GLOBALDIM, IFData< dim >::m_allVerticesIn, IFData< dim >::m_allVerticesOn, IFData< dim >::m_allVerticesOut, IFData< dim >::m_badNormal, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_cornerSigns, IFData< dim >::m_function, IFData< dim >::m_globalCoord, IFData< dim >::m_intersections, IFData< dim >::m_localCoord, IFData< dim >::m_maxOrder, IFData< dim >::m_normalDerivatives, and IFData< dim >::m_parentCoord.
Referenced by operator<<().
References IFData< dim >::m_allVerticesIn, IFData< dim >::m_allVerticesOn, IFData< dim >::m_allVerticesOut, IFData< dim >::m_badNormal, IFData< dim >::m_cellCenterCoord, IFData< dim >::m_cornerSigns, IFData< dim >::m_function, IFData< dim >::m_globalCoord, IFData< dim >::m_intersections, IFData< dim >::m_localCoord, IFData< dim >::m_maxOrder, IFData< dim >::m_normalDerivatives, and IFData< dim >::m_parentCoord.
CornerSigns IFData< dim >::m_cornerSigns |
EdgeIntersections IFData< dim >::m_intersections |
IFSlicer<dim>* IFData< dim >::m_function |
CoordinateSystem<dim> IFData< dim >::m_globalCoord |
CoordinateSystem<dim> IFData< dim >::m_cellCenterCoord |
Referenced by DivNormalRefinement< dim >::approximateDivNormal(), IFData< dim >::defineLocalCoords(), IFData< dim >::IFData(), IFData< dim >::makeCornerSigns(), IFData< dim >::makeEdgeKey(), LSProblem< dim >::momentBounds(), LSProblem< dim >::monoMaxMin(), IFData< dim >::operator=(), IFData< dim >::print(), and IFData< dim >::rootFinder().
CoordinateSystem<dim> IFData< dim >::m_parentCoord |
Referenced by IFData< dim >::IFData(), IFData< dim >::operator=(), and IFData< dim >::print().
CoordinateSystem<dim> IFData< dim >::m_localCoord |
int IFData< dim >::m_maxOrder |
NormalDerivatives IFData< dim >::m_normalDerivatives |
bool IFData< dim >::m_badNormal |
bool IFData< dim >::m_allVerticesIn |
bool IFData< dim >::m_allVerticesOut |
bool IFData< dim >::m_allVerticesOn |