/*!\file ResetCoordinateSystemx
 * \brief: reset coordinate system for full-Stokes: tangential to the bedrock
 */

#include "./ResetCoordinateSystemx.h"
#include "../../shared/shared.h"
#include "../../include/include.h"
#include "../../toolkits/toolkits.h"

void ResetCoordinateSystemx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads,Materials* materials,Parameters* parameters){

	Element *element = NULL;

	for (int i=0;i<elements->Size();i++){
		element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
		element->ResetCoordinateSystem();
	}

}
