OpenCMISS-Iron Internal API Documentation
maths::dcrossproduct Interface Reference

Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b. More...

Private Member Functions

subroutine dcrossproductintg (n, a, b, c, da, db, dc, err, error,)
 Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for integer vectors. More...
 
subroutine dcrossproductsp (n, a, b, c, da, db, dc, err, error,)
 Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for single precision vectors. More...
 
subroutine dcrossproductdp (n, a, b, c, da, db, dc, err, error,)
 Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for double precision vectors. More...
 

Detailed Description

Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b.

Definition at line 87 of file maths.f90.

Member Function/Subroutine Documentation

subroutine maths::dcrossproduct::dcrossproductdp ( integer(intg), intent(in)  n,
real(dp), dimension(:), intent(in)  a,
real(dp), dimension(:), intent(in)  b,
real(dp), dimension(:), intent(out)  c,
real(dp), dimension(:,:), intent(in)  da,
real(dp), dimension(:,:), intent(in)  db,
real(dp), dimension(:,:), intent(out)  dc,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)
private

Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for double precision vectors.

Parameters
[in]nThe number of derivatives
[in]aThe a vector
[in]bThe b vector
[out]cOn exit, the cross product of a x b
[in]daThe n derivatives of a
[in]dbThe n derivatives of b
[out]dcOn exit, the derivatives of c
[out]errThe error code
[out]errorThe error string

Definition at line 502 of file maths.f90.

subroutine maths::dcrossproduct::dcrossproductintg ( integer(intg), intent(in)  n,
integer(intg), dimension(:), intent(in)  a,
integer(intg), dimension(:), intent(in)  b,
integer(intg), dimension(:), intent(out)  c,
integer(intg), dimension(:,:), intent(in)  da,
integer(intg), dimension(:,:), intent(in)  db,
integer(intg), dimension(:,:), intent(out)  dc,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)
private

Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for integer vectors.

Parameters
[in]nThe number of derivatives
[in]aThe a vector
[in]bThe b vector
[out]cOn exit, the cross product of a x b
[in]daThe n derivatives of a
[in]dbThe n derivatives of b
[out]dcOn exit, the derivatives of c
[out]errThe error code
[out]errorThe error string

Definition at line 394 of file maths.f90.

subroutine maths::dcrossproduct::dcrossproductsp ( integer(intg), intent(in)  n,
real(sp), dimension(:), intent(in)  a,
real(sp), dimension(:), intent(in)  b,
real(sp), dimension(:), intent(out)  c,
real(sp), dimension(:,:), intent(in)  da,
real(sp), dimension(:,:), intent(in)  db,
real(sp), dimension(:,:), intent(out)  dc,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)
private

Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for single precision vectors.

Parameters
[in]nThe number of derivatives
[in]aThe a vector
[in]bThe b vector
[out]cOn exit, the cross product of a x b
[in]daThe n derivatives of a
[in]dbThe n derivatives of b
[out]dcOn exit, the derivatives of c
[out]errThe error code
[out]errorThe error string

Definition at line 448 of file maths.f90.