MeshPeriodicRelativeX

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

Synopsis

#include "mesh.h" 
double MeshPeriodicRelativeX(Mesh mesh, double x, double xO)
Not collective

Input Parameters

mesh - The mesh
x - The original coordinate
xO - 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

MeshPeriodicRelativeY(), MeshPeriodicRelativeZ(), MeshPeriodicX(), MeshPeriodicDiffX()

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