parallel Function

private elemental function parallel(lhs, rhs) result(paral)

Arguments

TypeIntentOptionalAttributesName
class(vector_R16P), intent(in) :: lhs

Compute the component of lhs parallel to rhs.

 type(vector_R16P) :: pt(0:2)
 pt(1) = 2 * ex_R16P + 3 * ey_R16P
 pt(2) = ex_R16P
 pt(0) = pt(1).paral.pt(2)
 print "(3(F3.1,1X))", abs(pt(0)%x), abs(pt(0)%y), abs(pt(0)%z)

Left hand side.

type(vector_R16P), intent(in) :: rhs

Right hand side.

Return Value type(vector_R16P)

Component of of lhs parallel to rhs.


Calls

proc~~parallel~2~~CallsGraph proc~parallel~2 parallel proc~normalized_r16p normalized_R16P proc~parallel~2->proc~normalized_r16p proc~norml2_r16p normL2_R16P proc~parallel~2->proc~norml2_r16p

Contents

None