Lines Matching refs:coordSection

539   PetscSection   coordSection;  in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()  local
562 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
563 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
564 PetscCall(PetscSectionSetChart(coordSection, 0, numVertices)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
565 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, cdim)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
567 PetscCall(PetscSectionSetDof(coordSection, v, cdim)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
568 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, cdim)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
570 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
571 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal()
596 PetscSection coordSection; in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() local
674 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
675 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
676 PetscCall(PetscSectionSetChart(coordSection, numEdges, numEdges + numVertices)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
677 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, 2)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
679 PetscCall(PetscSectionSetDof(coordSection, v, 2)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
680 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, 2)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
682 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
683 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
714 PetscSection coordSection; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal() local
856 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
857 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
858 PetscCall(PetscSectionSetChart(coordSection, numFaces, numFaces + numVertices)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
859 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, 3)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
861 PetscCall(PetscSectionSetDof(coordSection, v, 3)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
862 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, 3)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
864 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
865 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
1305 PetscSection coordSection; in DMPlexCreateSquareMesh_Simplex_CrissCross() local
1403 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1404 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1405 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, 2)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1406 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVertices)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1408 PetscCall(PetscSectionSetDof(coordSection, v, 2)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1409 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, 2)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1411 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1412 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1566 PetscSection coordSection; in DMPlexCreateCubeMesh_Internal() local
1879 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateCubeMesh_Internal()
1880 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateCubeMesh_Internal()
1881 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, dim)); in DMPlexCreateCubeMesh_Internal()
1882 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVertices)); in DMPlexCreateCubeMesh_Internal()
1884 PetscCall(PetscSectionSetDof(coordSection, v, dim)); in DMPlexCreateCubeMesh_Internal()
1885 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, dim)); in DMPlexCreateCubeMesh_Internal()
1887 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateCubeMesh_Internal()
1888 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateCubeMesh_Internal()
2217 PetscSection coordSection; in DMPlexCreateHypercubicMesh_Internal() local
2340 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateHypercubicMesh_Internal()
2341 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateHypercubicMesh_Internal()
2342 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, dim)); in DMPlexCreateHypercubicMesh_Internal()
2343 PetscCall(PetscSectionSetChart(coordSection, numCells, numCells + numVertices)); in DMPlexCreateHypercubicMesh_Internal()
2345 PetscCall(PetscSectionSetDof(coordSection, v, dim)); in DMPlexCreateHypercubicMesh_Internal()
2346 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, dim)); in DMPlexCreateHypercubicMesh_Internal()
2348 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateHypercubicMesh_Internal()
2349 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateHypercubicMesh_Internal()
2801 PetscSection coordSection; in DMPlexCreateHexCylinderMesh_Internal() local
2808 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateHexCylinderMesh_Internal()
2809 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateHexCylinderMesh_Internal()
2810 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, dim)); in DMPlexCreateHexCylinderMesh_Internal()
2811 PetscCall(PetscSectionSetChart(coordSection, numCells, numCells + numVertices)); in DMPlexCreateHexCylinderMesh_Internal()
2813 PetscCall(PetscSectionSetDof(coordSection, v, dim)); in DMPlexCreateHexCylinderMesh_Internal()
2814 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, dim)); in DMPlexCreateHexCylinderMesh_Internal()
2816 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateHexCylinderMesh_Internal()
2817 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateHexCylinderMesh_Internal()
3075 PetscSection coordSection; in DMPlexCreateWedgeCylinderMesh_Internal() local
3080 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateWedgeCylinderMesh_Internal()
3081 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateWedgeCylinderMesh_Internal()
3082 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, dim)); in DMPlexCreateWedgeCylinderMesh_Internal()
3083 PetscCall(PetscSectionSetChart(coordSection, numCells, numCells + numVertices)); in DMPlexCreateWedgeCylinderMesh_Internal()
3085 PetscCall(PetscSectionSetDof(coordSection, v, dim)); in DMPlexCreateWedgeCylinderMesh_Internal()
3086 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, dim)); in DMPlexCreateWedgeCylinderMesh_Internal()
3088 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateWedgeCylinderMesh_Internal()
3089 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateWedgeCylinderMesh_Internal()
3180 PetscSection coordSection; in DMPlexCreateSphereMesh_Internal() local
3635 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateSphereMesh_Internal()
3636 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateSphereMesh_Internal()
3637 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, embedDim)); in DMPlexCreateSphereMesh_Internal()
3638 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVerts)); in DMPlexCreateSphereMesh_Internal()
3640 PetscCall(PetscSectionSetDof(coordSection, v, embedDim)); in DMPlexCreateSphereMesh_Internal()
3641 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, embedDim)); in DMPlexCreateSphereMesh_Internal()
3643 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateSphereMesh_Internal()
3644 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateSphereMesh_Internal()
6216 PetscSection coordSection; in DMPlexBuildCoordinatesFromCellListParallel() local
6229 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexBuildCoordinatesFromCellListParallel()
6230 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexBuildCoordinatesFromCellListParallel()
6231 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, spaceDim)); in DMPlexBuildCoordinatesFromCellListParallel()
6232 PetscCall(PetscSectionSetChart(coordSection, vStart, vEnd)); in DMPlexBuildCoordinatesFromCellListParallel()
6234 PetscCall(PetscSectionSetDof(coordSection, v, spaceDim)); in DMPlexBuildCoordinatesFromCellListParallel()
6235 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, spaceDim)); in DMPlexBuildCoordinatesFromCellListParallel()
6237 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexBuildCoordinatesFromCellListParallel()
6238 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexBuildCoordinatesFromCellListParallel()
6493 PetscSection coordSection; in DMPlexBuildCoordinatesFromCellList() local
6504 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexBuildCoordinatesFromCellList()
6505 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexBuildCoordinatesFromCellList()
6506 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, spaceDim)); in DMPlexBuildCoordinatesFromCellList()
6507 PetscCall(PetscSectionSetChart(coordSection, vStart, vEnd)); in DMPlexBuildCoordinatesFromCellList()
6509 PetscCall(PetscSectionSetDof(coordSection, v, spaceDim)); in DMPlexBuildCoordinatesFromCellList()
6510 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, spaceDim)); in DMPlexBuildCoordinatesFromCellList()
6512 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexBuildCoordinatesFromCellList()
6630 PetscSection coordSection; in DMPlexCreateFromDAG() local
6653 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in DMPlexCreateFromDAG()
6654 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateFromDAG()
6655 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, dimEmbed)); in DMPlexCreateFromDAG()
6656 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numPoints[0])); in DMPlexCreateFromDAG()
6658 PetscCall(PetscSectionSetDof(coordSection, v, dimEmbed)); in DMPlexCreateFromDAG()
6659 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, dimEmbed)); in DMPlexCreateFromDAG()
6661 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateFromDAG()
6662 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateFromDAG()
6673 PetscCall(PetscSectionGetOffset(coordSection, v + firstVertex, &off)); in DMPlexCreateFromDAG()
6716 PetscSection coordSection; in DMPlexCreateCellVertexFromFile() local
6792 PetscCall(DMGetCoordinateSection(*dm, &coordSection)); in DMPlexCreateCellVertexFromFile()
6793 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateCellVertexFromFile()
6794 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, cdim)); in DMPlexCreateCellVertexFromFile()
6795 PetscCall(PetscSectionSetChart(coordSection, Nc, Nc + Nv)); in DMPlexCreateCellVertexFromFile()
6797 PetscCall(PetscSectionSetDof(coordSection, v, cdim)); in DMPlexCreateCellVertexFromFile()
6798 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, cdim)); in DMPlexCreateCellVertexFromFile()
6800 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateCellVertexFromFile()
6801 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateCellVertexFromFile()
6906 PetscSection coordSection; in DMPlexCreateSTLFromFile() local
6991 PetscCall(DMGetCoordinateSection(*dm, &coordSection)); in DMPlexCreateSTLFromFile()
6992 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateSTLFromFile()
6993 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, 3)); in DMPlexCreateSTLFromFile()
6994 PetscCall(PetscSectionSetChart(coordSection, Nc, Nc + Nv)); in DMPlexCreateSTLFromFile()
6996 PetscCall(PetscSectionSetDof(coordSection, v, 3)); in DMPlexCreateSTLFromFile()
6997 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, 3)); in DMPlexCreateSTLFromFile()
6999 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateSTLFromFile()
7000 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateSTLFromFile()
7051 PetscSection coordSection; in DMPlexCreateShapefile() local
7171 PetscCall(DMGetCoordinateSection(*dm, &coordSection)); in DMPlexCreateShapefile()
7172 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in DMPlexCreateShapefile()
7173 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, cdim)); in DMPlexCreateShapefile()
7174 PetscCall(PetscSectionSetChart(coordSection, Nc, Nc + Nv)); in DMPlexCreateShapefile()
7176 PetscCall(PetscSectionSetDof(coordSection, v, cdim)); in DMPlexCreateShapefile()
7177 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, cdim)); in DMPlexCreateShapefile()
7179 PetscCall(PetscSectionSetUp(coordSection)); in DMPlexCreateShapefile()
7180 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in DMPlexCreateShapefile()