MeshPeriodicRelativeZ

Returns the value modulo the period of the mesh, relative to a given coordinate.

Synopsis

#include "mesh.h" 
double MeshPeriodicRelativeZ(Mesh mesh, double z, double zO)
Not collective

Input Parameters

mesh - The mesh
z - The original coordinate
zO - The origin defining the period

Output Parameter

ret -The normalized coordinate

Note

This function is normally used to have a geometric object reside in a single period of the mesh. For instance, a triangle that needs to be drawn.

Keywords

mesh, coordinates, periodic

See Also

MeshPeriodicRelativeX(), MeshPeriodicRelativeY(), MeshPeriodicZ(), MeshPeriodicDiffZ()

Level:intermediate
Location:
src/mesh/interface/meshPeriodic.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages