CalculateOnIntegrationPoints

From KratosWiki
Revision as of 16:03, 3 December 2007 by Kazem (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
	double LinearElement::CalculateIntegrationWeight(double GaussPointWeight, double DetJ0)
	{
		//to permorm the integration over the reference domain we need to include 
		// the thickness in 2D
		unsigned int dimension = GetGeometry().WorkingSpaceDimension();
		double weight = GaussPointWeight;


		weight *= DetJ0;
		if (dimension == 2) weight *= GetProperties()[THICKNESS];
		return weight;
Personal tools
Categories