com1DFA.DFAtoolsΒΆ

Basic tools for getting grid normals, area and working with vectors.

Functions

crossProd

Compute cross product of vector u = (ux, uy, uz) and v = (vx, vy, vz).

getAreaMesh

Get area of grid cells.

getNormalArray

Interpolate vector field from grid to unstructures points

getNormalMesh

Compute normal to surface at grid points

norm

Compute the Euclidean norm of the vector (x, y, z).

norm2

Compute the square of the Euclidean norm of the vector (x, y, z).

normalize

Normalize vector (x, y, z) for the Euclidean norm.

scalProd

Compute scalar product of vector u = (ux, uy, uz) and v = (vx, vy, vz).