CalculateOnIntegrationPoints

From KratosWiki
Revision as of 16:03, 3 December 2007 by Kazem (Talk | contribs)
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