PointFunctionOne

A PointFunction that is one at all locations.

Synopsis

#include "mesh.h" 
int PointFunctionOne(int n, int comp, double *x, double *y, double *z, PetscScalar *values, void *dummy)

Input Parameters

n - number of points
comp - number of components
x,y,z - coordinates of points
dummy - unneeded context variable

Output Parameter

values -location where 1.0 is stored (n*comp times)

Keywords

point function

See Also

PointFunctionZero(), PointFunctionConstant()

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