54 stretchZone(
double startAt,
double endtAt,
double factor,
double refCellSize, std::string refCellPos);
57 int stretching(std::vector<double>& dX, std::vector<double>& posX);
59 static int verifyStretching(std::vector<stretchZone>& tabStretch,
const double l, std::string fileName =
"");
double m_startAt
zone starting position along corresponding axis
Definition stretchZone.h:65
stretchZone(double startAt, double endtAt, double factor, double refCellSize, std::string refCellPos)
Stretched zone constructor.
Definition stretchZone.cpp:42
std::string m_refCellPos
position of reference cell (start or end)
Definition stretchZone.h:70
const int & getNumberCells() const
Definition stretchZone.h:62
int m_numberCells
number of cells in the stretched zone
Definition stretchZone.h:69
int stretching(std::vector< double > &dX, std::vector< double > &posX)
Definition stretchZone.cpp:191
static int verifyStretching(std::vector< stretchZone > &tabStretch, const double l, std::string fileName="")
Definition stretchZone.cpp:238
double m_refCellSize
size of reference cell
Definition stretchZone.h:68
double m_factor
stretching factor (1. is no stretching)
Definition stretchZone.h:67
virtual ~stretchZone()
Definition stretchZone.cpp:120
int32_t safe_round_to_int32(double x) const
Definition stretchZone.cpp:124
double m_endAt
zone ending position along corresponding axis
Definition stretchZone.h:66
void factorCorrection(double l)
Definition stretchZone.cpp:141