Home
last modified time | relevance | path

Searched refs:dim2 (Results 1 – 8 of 8) sorted by relevance

/petsc/src/vec/is/utils/hdf5/
H A Dhdf5io.c10 PetscBool complexVal, dim2; member
122 ctx->dim2 = PETSC_FALSE; in PetscViewerHDF5ReadSizes_Private()
170 ctx->dim2 = PETSC_FALSE; in PetscViewerHDF5ReadSizes_Private()
175 if (bs == 1) ctx->dim2 = PETSC_TRUE; /* vector with blocksize of 1, still stored as 2D array */ in PetscViewerHDF5ReadSizes_Private()
/petsc/src/dm/impls/da/
H A Dgr2.c428 PetscBool timestepping = PETSC_FALSE, dim2, spoutput; in VecView_MPI_HDF5_DA() local
437 PetscCall(PetscViewerHDF5GetBaseDimension2(viewer, &dim2)); in VecView_MPI_HDF5_DA()
479 if (da->w > 1 || dim2) { in VecView_MPI_HDF5_DA()
532 if (da->w > 1 || dim2) offset[dim++] = 0; in VecView_MPI_HDF5_DA()
544 if (da->w > 1 || dim2) PetscCall(PetscHDF5IntCast(da->w, count + dim++)); in VecView_MPI_HDF5_DA()
769 PetscBool dim2 = PETSC_FALSE, timestepping = PETSC_FALSE; in VecLoad_HDF5_DA() local
821 if (dd->w == 1 && dims[dofInd] == 1) dim2 = PETSC_TRUE; in VecLoad_HDF5_DA()
849 if (dd->w > 1 || dim2) { in VecLoad_HDF5_DA()
/petsc/share/petsc/matlab/
H A Dlaplacian.m107 dim2 = size(u); variable
108 if dim2(1) ~= 1
112 if dim2(2) > 3
116 dim=dim2(2); clear dim2;
/petsc/src/vec/vec/impls/mpi/
H A Dpdvec.c461 PetscBool timestepping, dim2, spoutput; in VecView_MPI_HDF5() local
472 PetscCall(PetscViewerHDF5GetBaseDimension2(viewer, &dim2)); in VecView_MPI_HDF5()
500 if (bs > 1 || dim2) { in VecView_MPI_HDF5()
514 if (bs > 1 || dim2) { in VecView_MPI_HDF5()
525 if (bs > 1 || dim2) { in VecView_MPI_HDF5()
574 if (bs > 1 || dim2) { in VecView_MPI_HDF5()
598 if (bs > 1 || dim2) { in VecView_MPI_HDF5()
/petsc/src/dm/impls/stag/
H A Dstag.c576 PetscInt dim, dim2, i; in DMGetCompatibility_Stag() local
599 PetscCall(DMGetDimension(dm2, &dim2)); in DMGetCompatibility_Stag()
600 if (dim != dim2) { in DMGetCompatibility_Stag()
/petsc/src/dm/dt/interface/
H A Ddt.c2618 PetscInt dim2, Nc2, Np2, order2, qb, d2; in PetscDTTensorQuadratureCreate() local
2631 PetscCall(PetscQuadratureGetData(q2, &dim2, &Nc2, &Np2, &x2, &w2)); in PetscDTTensorQuadratureCreate()
2762 dim = dim1 + dim2; in PetscDTTensorQuadratureCreate()
2774 for (d2 = 0; d2 < dim2; ++d2, ++d) x[qc * dim + d] = x2[qb * dim2 + d2]; in PetscDTTensorQuadratureCreate()
/petsc/src/dm/impls/moab/
H A Ddmmbutil.cxx509 moab::Range verts, cells, edges, faces, adj, dim3, dim2; in DMMoabCreateBoxMesh() local
/petsc/src/dm/impls/plex/
H A Dplexfem.c262 PetscInt dim2 = ctxInt[0]; in DMPlexProjectRigidBody_Private() local
267 …dim == dim2, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Input dimension %" PetscInt_FMT " does not mat… in DMPlexProjectRigidBody_Private()