Problem with calling DiffuseConvectiveBoundary subroutine
Posted: 19 Jul 2013, 12:40
Hi there,
The DiffuseConvectiveBoundary subroutine has been used in one of my fortron code for a solver. Last time I compiled it everything was fine. Now I had errors like this
error #6633: The type of the actual argument differs from the type of the dummy argument. [ELEMENT]
LOAD,TransferCoeff,Element,n,ElementNodes )
error #6633: The type of the actual argument differs from the type of the dummy argument. [N]
LOAD,TransferCoeff,Element,n,ElementNodes )
-------------------------------------------------^
error #6633: The type of the actual argument differs from the type of the dummy argument. [ELEMENTNODES]
LOAD,TransferCoeff,Element,n,ElementNodes )
---------------------------------------------------^
error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface. [ELEMENT]
CALL DiffuseConvectiveBoundary( STIFF,FORCE, &
----------------------^
error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [NODALE
XT]
CALL DiffuseConvectiveBoundary( STIFF,FORCE, &
----------------------^
The type in the code are:
TYPE(Element_t), POINTER :: Element
TYPE(Nodes_t) :: ElementNodes
INTEGER :: N
And the subroutine has been called like this:
CALL DiffuseConvectiveBoundary( STIFF,FORCE, LOAD,TransferCoeff,Element,n,ElementNodes )
I am not very familiar with fortron and not sure if this is really relevant to the type. I have checked the description for the subroutine and I think I call it right (?). And I also wonder if it has something to do with the updating of elmer/ice last month.
It is really appreciative if someone could kindly point out my problem.
Cheers,
Yongmei
The DiffuseConvectiveBoundary subroutine has been used in one of my fortron code for a solver. Last time I compiled it everything was fine. Now I had errors like this
error #6633: The type of the actual argument differs from the type of the dummy argument. [ELEMENT]
LOAD,TransferCoeff,Element,n,ElementNodes )
error #6633: The type of the actual argument differs from the type of the dummy argument. [N]
LOAD,TransferCoeff,Element,n,ElementNodes )
-------------------------------------------------^
error #6633: The type of the actual argument differs from the type of the dummy argument. [ELEMENTNODES]
LOAD,TransferCoeff,Element,n,ElementNodes )
---------------------------------------------------^
error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface. [ELEMENT]
CALL DiffuseConvectiveBoundary( STIFF,FORCE, &
----------------------^
error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [NODALE
XT]
CALL DiffuseConvectiveBoundary( STIFF,FORCE, &
----------------------^
The type in the code are:
TYPE(Element_t), POINTER :: Element
TYPE(Nodes_t) :: ElementNodes
INTEGER :: N
And the subroutine has been called like this:
CALL DiffuseConvectiveBoundary( STIFF,FORCE, LOAD,TransferCoeff,Element,n,ElementNodes )
I am not very familiar with fortron and not sure if this is really relevant to the type. I have checked the description for the subroutine and I think I call it right (?). And I also wonder if it has something to do with the updating of elmer/ice last month.
It is really appreciative if someone could kindly point out my problem.
Cheers,
Yongmei