# CalculateLocalSystem

(Difference between revisions)
 Revision as of 16:04, 28 November 2007 (view source) (New page: void LinearElement::CalculateLocalSystem(MatrixType& rLeftHandSideMatrix, VectorType& rRightHandSideVector, ProcessInfo& rCurrentProcessInfo) { //calculation flags bool C...) Latest revision as of 19:14, 1 November 2008 (view source)JMora (Talk | contribs) (2 intermediate revisions by one user not shown) Line 1: Line 1: + 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, void LinearElement::CalculateLocalSystem(MatrixType& rLeftHandSideMatrix, VectorType& rRightHandSideVector, ProcessInfo& rCurrentProcessInfo) ProcessInfo& rCurrentProcessInfo) Line 11: Line 12: } } + and the second one is + + CalculateLocalSystem(MatrixType& rLeftHandSideMatrix, + MatrixType& rDampMatrix, + VectorType& rRightHandSideVector1, + VectorType& rRightHandSideVector2, + 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){}
```