GetDofList

From KratosWiki
Revision as of 16:01, 28 November 2007 by 147.83.143.248 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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