ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
stretchZone Class Reference

managing a stretched zone in Cartesian meshes More...

#include <stretchZone.h>

Public Member Functions

 stretchZone (double startAt, double endtAt, double factor, int numberCells)
 improved stretched zone constructor
 
virtual ~stretchZone ()
 
int stretching (std::vector< double > &dX, std::vector< double > &posX)
 

Static Public Member Functions

static int verifyStretching (std::vector< stretchZone > &tabStretch, const double l, std::string fileName="")
 

Private Attributes

double m_startAt
 zone starting position along corresponding axis
 
double m_endAt
 zone ending position along corresponding axis
 
double m_factor
 stretching factor (1. is no stretching)
 
int m_numberCells
 number of cells in the stretched zone
 

Detailed Description

managing a stretched zone in Cartesian meshes

Constructor & Destructor Documentation

◆ stretchZone()

stretchZone::stretchZone ( double  startAt,
double  endtAt,
double  factor,
int  numberCells 
)

improved stretched zone constructor

◆ ~stretchZone()

stretchZone::~stretchZone ( )
virtual

Member Function Documentation

◆ stretching()

int stretchZone::stretching ( std::vector< double > &  dX,
std::vector< double > &  posX 
)

◆ verifyStretching()

int stretchZone::verifyStretching ( std::vector< stretchZone > &  tabStretch,
const double  l,
std::string  fileName = "" 
)
static

Member Data Documentation

◆ m_endAt

double stretchZone::m_endAt
private

zone ending position along corresponding axis

◆ m_factor

double stretchZone::m_factor
private

stretching factor (1. is no stretching)

◆ m_numberCells

int stretchZone::m_numberCells
private

number of cells in the stretched zone

◆ m_startAt

double stretchZone::m_startAt
private

zone starting position along corresponding axis


The documentation for this class was generated from the following files: