45 vector<vector<double> >
yf;
63 inline bool operator()(
const int &a,
const int &b)
const {
78 const vector<double> &cellFaces);
80 void merge2cells(
const int imrg,
const bool LconstVolume=
false);
109 int findPos(
const vector<double> &x,
114 const vector<double> &y,
120 const vector<double> &y,
121 const vector<double> &xn,
125 const vector<vector<double> > &y,
126 vector<double> &sDist);
129 void updateDA(
const double &time,
double &tLastDA,
int &cLastDA,
130 int iStart,
int iEnd);
137 void init(
domain *p_domn,
const vector<dv*> p_phi);
double calcDistance(const vector< double > &x, const vector< vector< double > > &y, vector< double > &sDist)
void updateDA(const double &time, double &tLastDA, int &cLastDA, int iStart, int iEnd)
vector< double > dx
vector of cell sizes
void removeFaceNearZero()
vector< double > xnf
vector of new cell face positions
void interp1pt(const vector< double > &x, const vector< double > &y, const double &xval, double &yval, int &istart)
void makeCellWithZeroSymmetric()
void adaptEddyRegionOfMesh(const double &time, double &tLastDA, int &cLastDA)
vector< int > mark
dummy small cell index array for sorting
void setGridDx(const domain *line, vector< double > &dx)
void setGridFromDxc(const vector< double > &dxc2)
void init(domain *p_domn, const vector< dv * > p_phi)
int iUpper
region of grid to adapt (the cell w/ right eddy edge)
int iLower
region of grid to adapt (the cell w/ left eddy edge)
domain * domn
pointer to odt domain to adapt
void merge2cells(const int imrg, const bool LconstVolume=false)
vector< vector< double > > yf
vector of cell values
void splitCell(const int isplt, const int nsplt, const vector< double > &cellFaces)
int ngrdf
local number of grid faces
double posUpper
physical region of eddy (upper bound)
double posLower
physical region of eddy (lower bound)
int findPos(const vector< double > &x, const double val, const int &istart)
vector< double > X
vector of cell center positions
void setGridDxc(const domain *line, vector< double > &dxc, double C)
void splitCellWithZero()
** Create cell with r=0 at its center
int ngrd
local number of grid points
void adaptGrid(int iLower, int iUpper)
void adaptGrid_details(const int iLower, const int iUpper)
bool operator()(const int &a, const int &b) const
vector< double > lastDA
constant (unif) mesh to list time of last adapt
vector< double > xf
vector of cell face positions
vector< dv * > phi
vector of pointers to domainvariable objects
void adaptAfterSufficientDiffTime(const double &time, double &tLastDA, int &cLastDA, double &dtCUmax)
void interpVec(const vector< double > &x, const vector< double > &y, const vector< double > &xn, vector< double > &yn)
void fix2point5offender(const int mPos, const int &iglobal)
Header file for class dv.