1 |
gezelter |
264 |
subroutine makeShape(nContactFuncs, ContactFuncLValue, & |
2 |
|
|
ContactFuncMValue, ContactFunctionType, ContactFuncCoefficient, & |
3 |
|
|
nRangeFuncs, RangeFuncLValue, RangeFuncMValue, RangeFunctionType, & |
4 |
|
|
RangeFuncCoefficient, nStrengthFuncs, StrengthFuncLValue, & |
5 |
|
|
StrengthFuncMValue, StrengthFunctionType, StrengthFuncCoefficient, & |
6 |
|
|
myATID, status) |
7 |
|
|
|
8 |
|
|
use definitions |
9 |
|
|
use shapes, only: newShapeType |
10 |
|
|
|
11 |
|
|
integer :: nContactFuncs |
12 |
|
|
integer :: nRangeFuncs |
13 |
|
|
integer :: nStrengthFuncs |
14 |
|
|
integer :: status |
15 |
|
|
integer :: myATID |
16 |
|
|
|
17 |
|
|
integer, dimension(nContactFuncs) :: ContactFuncLValue |
18 |
|
|
integer, dimension(nContactFuncs) :: ContactFuncMValue |
19 |
|
|
integer, dimension(nContactFuncs) :: ContactFunctionType |
20 |
|
|
real(kind=dp), dimension(nContactFuncs) :: ContactFuncCoefficient |
21 |
|
|
integer, dimension(nRangeFuncs) :: RangeFuncLValue |
22 |
|
|
integer, dimension(nRangeFuncs) :: RangeFuncMValue |
23 |
|
|
integer, dimension(nRangeFuncs) :: RangeFunctionType |
24 |
|
|
real(kind=dp), dimension(nRangeFuncs) :: RangeFuncCoefficient |
25 |
|
|
integer, dimension(nStrengthFuncs) :: StrengthFuncLValue |
26 |
|
|
integer, dimension(nStrengthFuncs) :: StrengthFuncMValue |
27 |
|
|
integer, dimension(nStrengthFuncs) :: StrengthFunctionType |
28 |
|
|
real(kind=dp), dimension(nStrengthFuncs) :: StrengthFuncCoefficient |
29 |
|
|
|
30 |
|
|
call newShapeType(nContactFuncs, ContactFuncLValue, & |
31 |
|
|
ContactFuncMValue, ContactFunctionType, ContactFuncCoefficient, & |
32 |
|
|
nRangeFuncs, RangeFuncLValue, RangeFuncMValue, RangeFunctionType, & |
33 |
|
|
RangeFuncCoefficient, nStrengthFuncs, StrengthFuncLValue, & |
34 |
|
|
StrengthFuncMValue, StrengthFunctionType, StrengthFuncCoefficient, & |
35 |
|
|
myATID, status) |
36 |
|
|
|
37 |
|
|
return |
38 |
|
|
end subroutine makeShape |
39 |
|
|
|
40 |
|
|
subroutine completeShapeFF(status) |
41 |
|
|
|
42 |
|
|
use shapes, only: complete_Shape_FF |
43 |
|
|
|
44 |
|
|
integer, intent(out) :: status |
45 |
|
|
integer :: myStatus |
46 |
|
|
|
47 |
|
|
myStatus = 0 |
48 |
|
|
|
49 |
|
|
call complete_Shape_FF(myStatus) |
50 |
|
|
|
51 |
|
|
status = myStatus |
52 |
|
|
|
53 |
|
|
return |
54 |
|
|
end subroutine completeShapeFF |