| 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 |
gezelter |
507 |
|
| 11 |
gezelter |
264 |
integer :: nContactFuncs |
| 12 |
|
|
integer :: nRangeFuncs |
| 13 |
|
|
integer :: nStrengthFuncs |
| 14 |
|
|
integer :: status |
| 15 |
chrisfen |
514 |
integer :: c_ident |
| 16 |
gezelter |
507 |
|
| 17 |
gezelter |
264 |
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 |
gezelter |
507 |
|
| 30 |
gezelter |
264 |
call newShapeType(nContactFuncs, ContactFuncLValue, & |
| 31 |
|
|
ContactFuncMValue, ContactFunctionType, ContactFuncCoefficient, & |
| 32 |
|
|
nRangeFuncs, RangeFuncLValue, RangeFuncMValue, RangeFunctionType, & |
| 33 |
|
|
RangeFuncCoefficient, nStrengthFuncs, StrengthFuncLValue, & |
| 34 |
|
|
StrengthFuncMValue, StrengthFunctionType, StrengthFuncCoefficient, & |
| 35 |
chrisfen |
514 |
c_ident, status) |
| 36 |
gezelter |
264 |
|
| 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 |
| 55 |
chuckv |
491 |
|
| 56 |
|
|
subroutine destroyShapeTypes() |
| 57 |
gezelter |
507 |
use shapes, only: module_destroyShapeTypes => destroyShapeTypes |
| 58 |
|
|
call module_destroyShapeTypes() |
| 59 |
chuckv |
491 |
|
| 60 |
|
|
end subroutine destroyShapeTypes |