void SoilLayer::addOneFront5Bot(const double & deltaz,const int & frzing){ //add one front at the bottom of fronts frozen =0; Front* fnt = new Front(); fnt->set(deltaz, frzing); fronts.push_back(fnt); };
void SoilLayer::addOneFront5Top(const double & deltaz,const int & frzing){ //deltaz is the distance between the front and top interface of a layer frozen =0; Front* fnt = new Front(); fnt->set(deltaz, frzing); fronts.push_front(fnt); };