CalculateLocalSystem

From KratosWiki
(Difference between revisions)
Jump to: navigation, search
 
Line 19: Line 19:
 
   VectorType& rRightHandSideVector2,  
 
   VectorType& rRightHandSideVector2,  
 
     ProcessInfo& rCurrentProcessInfo){}
 
     ProcessInfo& rCurrentProcessInfo){}
 +
 +
 +
[[Category:C++ Code]]

Latest revision as of 19:14, 1 November 2008

There are two available functions to calculate local system, the first one that is used in LinearElement is as below

void LinearElement::CalculateLocalSystem(MatrixType& rLeftHandSideMatrix, VectorType& rRightHandSideVector,     
 ProcessInfo& rCurrentProcessInfo)

	{
		//calculation flags
		bool CalculateStiffnessMatrixFlag = true;
		bool CalculateResidualVectorFlag = true;
		
		CalculateAll(rLeftHandSideMatrix, rRightHandSideVector, rCurrentProcessInfo,  
               CalculateStiffnessMatrixFlag, CalculateResidualVectorFlag);

	}

and the second one is

CalculateLocalSystem(MatrixType& rLeftHandSideMatrix, 
					MatrixType& rDampMatrix, 
					VectorType& rRightHandSideVector1, 
 					VectorType& rRightHandSideVector2, 
  					  ProcessInfo& rCurrentProcessInfo){}
Personal tools
Categories