Home
last modified time | relevance | path

Searched refs:coordFunc (Results 1 – 6 of 6) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Dswarmpic.c880 PetscErrorCode DMSwarmGetCoordinateFunction(DM sw, PetscSimplePointFn **coordFunc) in DMSwarmGetCoordinateFunction() argument
886 PetscAssertPointer(coordFunc, 2); in DMSwarmGetCoordinateFunction()
887 *coordFunc = swarm->coordFunc; in DMSwarmGetCoordinateFunction()
904 PetscErrorCode DMSwarmSetCoordinateFunction(DM sw, PetscSimplePointFn *coordFunc) in DMSwarmSetCoordinateFunction() argument
910 PetscValidFunction(coordFunc, 2); in DMSwarmSetCoordinateFunction()
911 swarm->coordFunc = coordFunc; in DMSwarmSetCoordinateFunction()
1081 PetscSimplePointFn *coordFunc; in DMSwarmComputeLocalSizeFromOptions() local
1084 PetscCall(PetscDLSym(NULL, funcname, (void **)&coordFunc)); in DMSwarmComputeLocalSizeFromOptions()
1085 …PetscCheck(coordFunc, PetscObjectComm((PetscObject)sw), PETSC_ERR_ARG_WRONG, "Could not locate fun… in DMSwarmComputeLocalSizeFromOptions()
1088 PetscCall(DMSwarmSetCoordinateFunction(sw, coordFunc)); in DMSwarmComputeLocalSizeFromOptions()
[all …]
/petsc/include/petsc/private/
H A Ddmswarmimpl.h79 PetscSimplePointFn *coordFunc; /* Function to set particle coordinates */ member
H A Ddmpleximpl.h231 PetscPointFn *coordFunc; /* Function used to remap newly introduced vertices */ member
/petsc/src/dm/impls/plex/
H A Dplexcreate.c126 PetscPointFn *coordFunc; in DMPlexReplace_Internal() local
150 PetscCall(DMPlexGetCoordinateMap(dm, &coordFunc)); in DMPlexReplace_Internal()
151 if (dim == ndim) PetscCall(DMPlexSetCoordinateMap(dmNew, coordFunc)); in DMPlexReplace_Internal()
5278 PetscPointFn *coordFunc; in DMSetFromOptions_Plex() local
5280 PetscCall(DMPlexGetCoordinateMap(dm, &coordFunc)); in DMSetFromOptions_Plex()
5285 if (coordFunc && remap) { in DMSetFromOptions_Plex()
5286 PetscCall(DMPlexRemapGeometry(dm, 0.0, coordFunc)); in DMSetFromOptions_Plex()
5287 PetscCall(DMPlexSetCoordinateMap(dm, coordFunc)); in DMSetFromOptions_Plex()
5436 PetscPointFn *coordFunc; in DMSetFromOptions_Plex() local
5443 PetscCall(DMPlexGetCoordinateMap(dm, &coordFunc)); in DMSetFromOptions_Plex()
[all …]
H A Dplexgeometry.c3170 PetscErrorCode DMPlexGetCoordinateMap(DM dm, PetscPointFn **coordFunc) in DMPlexGetCoordinateMap() argument
3174 PetscAssertPointer(coordFunc, 2); in DMPlexGetCoordinateMap()
3175 *coordFunc = ((DM_Plex *)dm->data)->coordFunc; in DMPlexGetCoordinateMap()
3195 PetscErrorCode DMPlexSetCoordinateMap(DM dm, PetscPointFn *coordFunc) in DMPlexSetCoordinateMap() argument
3199 ((DM_Plex *)dm->data)->coordFunc = coordFunc; in DMPlexSetCoordinateMap()
/petsc/doc/changes/
H A D324.md180 - Remove ``coordFunc`` argument from `DMPlexCreateCoordinateSpace()`