parallel Function

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

Arguments

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

Compute the component of lhs parallel to rhs.

 type(vector_R8P) :: pt(0:2)
 pt(1) = 2 * ex_R8P + 3 * ey_R8P
 pt(2) = ex_R8P
 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_R8P), intent(in) :: rhs

Right hand side.

Return Value type(vector_R8P)

Component of of lhs parallel to rhs.


Calls

proc~~parallel~~CallsGraph proc~parallel parallel proc~normalized_r8p normalized_R8P proc~parallel->proc~normalized_r8p proc~norml2_r8p normL2_R8P proc~parallel->proc~norml2_r8p

Contents

None