Method “changeComps02B” is used to calculate the components of a vector or tensor wrt basic or “B” coordinate system:
The coordinate system on which the method is called is the coordinate system in which one wants to express the components. (Coordinate system “B”.)
The first “Coord0” argument is an Array of three real values corresponding to the coordinates of the point in coordinate system “0”.
The second “vm0” argument corresponds to the components of vector or tensor (matrix) in coordinate system “0”. (An Array of three real values, or an Array of Arrays of three real values.)
The method returns the components of a vector or tensor, but expressed wrt basic coordinate system “B”. (An Array of three real values, or an Array of Arrays of three real values.)
The method is called as follows:
vmB=csB.changeCoords02B(coords0,vm0)