7 |
|
|
8 |
|
use definitions |
9 |
|
use shapes, only: newShapeType |
10 |
< |
|
10 |
> |
|
11 |
|
integer :: nContactFuncs |
12 |
|
integer :: nRangeFuncs |
13 |
|
integer :: nStrengthFuncs |
14 |
|
integer :: status |
15 |
< |
integer :: myATID |
16 |
< |
|
15 |
> |
integer :: c_ident |
16 |
> |
|
17 |
|
integer, dimension(nContactFuncs) :: ContactFuncLValue |
18 |
|
integer, dimension(nContactFuncs) :: ContactFuncMValue |
19 |
|
integer, dimension(nContactFuncs) :: ContactFunctionType |
26 |
|
integer, dimension(nStrengthFuncs) :: StrengthFuncMValue |
27 |
|
integer, dimension(nStrengthFuncs) :: StrengthFunctionType |
28 |
|
real(kind=dp), dimension(nStrengthFuncs) :: StrengthFuncCoefficient |
29 |
< |
|
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) |
35 |
> |
c_ident, status) |
36 |
|
|
37 |
|
return |
38 |
|
end subroutine makeShape |
52 |
|
|
53 |
|
return |
54 |
|
end subroutine completeShapeFF |
55 |
+ |
|
56 |
+ |
subroutine destroyShapeTypes() |
57 |
+ |
use shapes, only: module_destroyShapeTypes => destroyShapeTypes |
58 |
+ |
call module_destroyShapeTypes() |
59 |
+ |
|
60 |
+ |
end subroutine destroyShapeTypes |