refine.h Source File#
refine.h
Refine Domain1D grids so that profiles satisfy adaptation tolerances.
Definition refine.h:17
size_t maxPoints() const
Returns the maximum number of points allowed in the domain.
Definition refine.h:57
set< string > m_c
Names of components that require the addition of new grid points.
Definition refine.h:104
set< size_t > m_loc
Indices of grid points that need new grid points added after them.
Definition refine.h:101
void setMaxPoints(int npmax)
Set the maximum number of points allowed in the domain.
Definition refine.h:52
void setCriteria(double ratio=10.0, double slope=0.8, double curve=0.8, double prune=-0.1)
Set grid refinement criteria.
Definition refine.cpp:21
double gridMin() const
Returns the the minimum allowable spacing between adjacent grid points [m].
Definition refine.h:68
void setGridMin(double gridmin)
Set the minimum allowable spacing between adjacent grid points [m].
Definition refine.h:62
This file contains definitions of constants, types and terms that are used in internal routines and a...
Generated by