TemporalFlexibilityFunction::TemporalFlexibilityFunction( const std::string &id, double shrinkingFactor, double stretchingFactor ) :
		Entity( id ) {

	setShrinkingFactor( shrinkingFactor );
	setStretchingFactor( stretchingFactor );
	typeSet.insert( "TemporalFlexibilityFunction" );
}
void ReduceSurfaceTriangulation::operate()
{
  setStretchingFactor(1.0);
  prepare();
  //writeGrid(m_Grid, "take1");
  updateNodeInfo();
  //writeGrid(m_Grid, "take2");
  pass1();
  //pass2();
  createIndices(m_Grid);
  updateNodeInfo();
  computeMeshDensity();
}