Skip to content

Commit

Permalink
better argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 12, 2011
1 parent a1ce283 commit a82038a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/dohpfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ extern dErr dFSGetMatrix(dFS,const MatType,Mat*);
extern dErr dFSSetOptionsPrefix(dFS,const char[]);
extern dErr dFSBuildSpace(dFS);
extern dErr dFSGetSubElementMeshSize(dFS,dInt*,dInt*,dInt *);
extern dErr dFSGetSubElementMesh(dFS,dInt nelem,dInt nvtx,dEntTopology topo[],dInt off[],dInt ind[]);
extern dErr dFSGetSubElementMesh(dFS,dInt nelem,dInt nconn,dEntTopology topo[],dInt off[],dInt ind[]);
extern dErr dFSGetDomain(dFS,dMeshESH*);

extern dErr dFSGetPreferredQuadratureRuleSet(dFS,dMeshESH,dEntType,dEntTopology,dQuadratureMethod,dRuleset*);
Expand Down
6 changes: 2 additions & 4 deletions src/fs/interface/fsgeom.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,8 @@ dErr dFSGetSubElementMeshSize(dFS fs,dInt *nelems,dInt *nverts,dInt *nconn)
}

/** Get the number of subelements and number of vertices of subelements.
*
* @note the number of vertices is the same as the number of local nodes in closure vertor.
**/
dErr dFSGetSubElementMesh(dFS fs,dInt nelems,dInt nverts,dEntTopology topo[],dInt off[],dInt ind[])
dErr dFSGetSubElementMesh(dFS fs,dInt nelems,dInt nconn,dEntTopology topo[],dInt off[],dInt ind[])
{
dErr err;

Expand All @@ -256,7 +254,7 @@ dErr dFSGetSubElementMesh(dFS fs,dInt nelems,dInt nverts,dEntTopology topo[],dIn
dValidIntPointer(off,5);
dValidIntPointer(ind,6);
if (!fs->ops->getsubelementmesh) dERROR(PETSC_COMM_SELF,1,"not implemented");
err = (*fs->ops->getsubelementmesh)(fs,nelems,nverts,topo,off,ind);dCHK(err);
err = (*fs->ops->getsubelementmesh)(fs,nelems,nconn,topo,off,ind);dCHK(err);
dFunctionReturn(0);
}

Expand Down

0 comments on commit a82038a

Please sign in to comment.