GetDofList

From KratosWiki
Jump to: navigation, search
	void LinearElement::GetDofList(DofsVectorType& ElementalDofList,ProcessInfo& CurrentProcessInfo)
 
	 {
		ElementalDofList.resize(0);
		for (unsigned int i=0;i<GetGeometry().size();i++)
		{
			ElementalDofList.push_back(GetGeometry()[i].pGetDof(DISPLACEMENT_X));
			ElementalDofList.push_back(GetGeometry()[i].pGetDof(DISPLACEMENT_Y));
 			if(GetGeometry().WorkingSpaceDimension() == 3)
 				ElementalDofList.push_back(GetGeometry()[i].pGetDof(DISPLACEMENT_Z));

		}

	}
Personal tools
Categories