MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
MomConvert.H
Go to the documentation of this file.
1 
7 if ( nNodes == 2 )
9 {
10  M0 = mZero*(1.0 - (mOne/(1.0+mOne)));
11  M1 = mOne*(1.0 - (mOne/(1.0+mOne)));
12  M2 = mTwo*(1.0 - (mOne/(1.0+mOne)));
13  M3 = mThree*(1.0 - (mOne/(1.0+mOne)));
14 }
15 if ( nNodes == 3 )
16 {
17  M0 = mZero*(1.0 - (mOne/(1.0+mOne)));
18  M1 = mOne*(1.0 - (mOne/(1.0+mOne)));
19  M2 = mTwo*(1.0 - (mOne/(1.0+mOne)));
20  M3 = mThree*(1.0 - (mOne/(1.0+mOne)));
21  M4 = mFour*(1.0 - (mOne/(1.0+mOne)));
22  M5 = mFive*(1.0 - (mOne/(1.0+mOne)));
23 }
24 ///@endcond