petsc-3.8.4 2018-03-24
Report Typos and Errors

DMSwarmInsertPointsUsingCellDM

Insert point coordinates within each cell

Synopsis

#include "petscdmswarm.h"   
PETSC_EXTERN PetscErrorCode DMSwarmInsertPointsUsingCellDM(DM dm,DMSwarmPICLayoutType layout_type,PetscInt fill_param)
Not collective

Input parameters

dm - the DMSwarm
layout_type - method used to fill each cell with the cell DM
fill_param - parameter controlling how many points per cell are added (the meaning of this parameter is dependent on the layout type)

Notes

The insert method will reset any previous defined points within the DMSwarm

See Also

DMSwarmPICLayoutType, DMSwarmSetType(), DMSwarmSetCellDM(), DMSwarmType

Level:beginner
Location:
src/dm/impls/swarm/swarmpic.c
Index of all DMSWARM routines
Table of Contents for all manual pages
Index of all manual pages