int DFShellSetCoordinates(DF df,int M,int N,int P,double *c0,double *c1,double *c2)
df | - the DF shell |
c0, c1, c2 | - coordinates in each dimension |
M, N, P | - number of coordinates in each dimension |
Currently, we fully support only 3D structured meshes withbrick elements (2D rectangular meshes), where the usersets on each processor the x-, y-, and z-coordinates ( inc0, c1, and c2, respectively) for the entire global mesh.
for ( i=0; i<M; i++ ) c0[i] = i*0.3; for ( i=0; i<N; i++ ) c1[i] = i*0.6; for ( i=0; i<P; i++ ) c2[i] = i*0.5;
Location: src/dfvec/interface/dfvec.c
Discrete Function Index
Table of Contents