Home
last modified time | relevance | path

Searched refs:PetscFV (Results 1 – 25 of 43) sorted by relevance

12

/petsc/include/
H A Dpetscfv.h66 PETSC_EXTERN PetscErrorCode PetscFVCreate(MPI_Comm, PetscFV *);
67 PETSC_EXTERN PetscErrorCode PetscFVDestroy(PetscFV *);
68 PETSC_EXTERN PetscErrorCode PetscFVSetType(PetscFV, PetscFVType);
69 PETSC_EXTERN PetscErrorCode PetscFVGetType(PetscFV, PetscFVType *);
70 PETSC_EXTERN PetscErrorCode PetscFVSetUp(PetscFV);
71 PETSC_EXTERN PetscErrorCode PetscFVSetFromOptions(PetscFV);
72 PETSC_EXTERN PetscErrorCode PetscFVViewFromOptions(PetscFV, PetscObject, const char[]);
73 PETSC_EXTERN PetscErrorCode PetscFVView(PetscFV, PetscViewer);
74 PETSC_EXTERN PetscErrorCode PetscFVRegister(const char[], PetscErrorCode (*)(PetscFV));
76 PETSC_EXTERN PetscErrorCode PetscFVSetComponentName(PetscFV, PetscInt, const char[]);
[all …]
H A Dpetscfvceed.h10 PETSC_EXTERN PetscErrorCode PetscFVGetCeedBasis(PetscFV, CeedBasis *);
11 PETSC_EXTERN PetscErrorCode PetscFVSetCeed(PetscFV, Ceed);
H A Dpetscfvtypes.h22 typedef struct _p_PetscFV *PetscFV; typedef
H A Dpetscdmplex.h205 PETSC_EXTERN PetscErrorCode DMPlexComputeOrthogonalQuality(DM, PetscFV, PetscReal, Vec *, DMLabel *…
358 PETSC_EXTERN PetscErrorCode DMPlexComputeGradientFVM(DM, PetscFV, Vec, Vec, DM *);
359 PETSC_EXTERN PetscErrorCode DMPlexGetDataFVM(DM, PetscFV, Vec *, Vec *, DM *);
370 PETSC_EXTERN PetscErrorCode DMPlexGetGradientDM(DM, PetscFV, DM *);
373 PETSC_EXTERN PetscErrorCode DMPlexInsertBoundaryValuesFVM(DM, PetscFV, Vec, PetscReal, Vec *);
/petsc/include/petsc/private/
H A Dpetscfvimpl.h63 PetscErrorCode (*setfromoptions)(PetscFV);
64 PetscErrorCode (*setup)(PetscFV);
65 PetscErrorCode (*view)(PetscFV, PetscViewer);
66 PetscErrorCode (*destroy)(PetscFV);
67 PetscErrorCode (*computegradient)(PetscFV, PetscInt, const PetscScalar[], PetscScalar[]);
68 …PetscErrorCode (*integraterhsfunction)(PetscFV, PetscDS, PetscInt, PetscInt, PetscFVFaceGeom *, Pe…
98 static inline PetscErrorCode PetscFVInterpolate_Static(PetscFV fv, const PetscScalar x[], PetscInt … in PetscFVInterpolate_Static()
/petsc/doc/manualpages/MANSECHeaders/
H A DFV1 # Finite Volumes (PetscFV)
3 The `PetscFV` class encapsulates a finite volume space.
5 …ER/src/ts/tutorials/ex11.c.html">TS ex11</A> demonstrates some hyperbolic solvers using PetscFV<BR>
H A DDMForest5 It is designed to interface with the `PetscFE` and `PetscFV` discretization objects, and converts s…
H A DDMPlex4 … for load balancing. It is designed to interface with the `PetscFE` and `PetscFV` trial discretiza…
/petsc/src/dm/dt/fv/interface/
H A Dfv.c923 PetscErrorCode PetscFVRegister(const char sname[], PetscErrorCode (*function)(PetscFV)) in PetscFVRegister() argument
946 PetscErrorCode PetscFVSetType(PetscFV fvm, PetscFVType name) in PetscFVSetType()
948 PetscErrorCode (*r)(PetscFV); in PetscFVSetType()
983 PetscErrorCode PetscFVGetType(PetscFV fvm, PetscFVType *name) in PetscFVGetType()
1007 PetscErrorCode PetscFVViewFromOptions(PetscFV A, PetscObject obj, const char name[]) in PetscFVViewFromOptions()
1028 PetscErrorCode PetscFVView(PetscFV fvm, PetscViewer v) in PetscFVView()
1052 PetscErrorCode PetscFVSetFromOptions(PetscFV fvm) in PetscFVSetFromOptions()
1093 PetscErrorCode PetscFVSetUp(PetscFV fvm) in PetscFVSetUp()
1114 PetscErrorCode PetscFVDestroy(PetscFV *fvm) in PetscFVDestroy()
1156 PetscErrorCode PetscFVCreate(MPI_Comm comm, PetscFV *fvm) in PetscFVCreate()
[all …]
/petsc/src/dm/dt/fv/interface/ceed/
H A Dfvceed.c18 PetscErrorCode PetscFVSetCeed(PetscFV fv, Ceed ceed) in PetscFVSetCeed()
45 PetscErrorCode PetscFVGetCeedBasis(PetscFV fv, CeedBasis *basis) in PetscFVGetCeedBasis()
/petsc/src/dm/dt/tests/
H A Dex11.c7 PetscFV fvm; in main()
/petsc/src/ts/utils/libceed/
H A Ddmplextsceed.c9 PetscFV fv; in DMPlexTSComputeRHSFunctionFVMCEED()
/petsc/src/dm/impls/plex/
H A Dplexfvm.c56 PetscErrorCode DMPlexReconstructGradients_Internal(DM dm, PetscFV fvm, PetscInt fStart, PetscInt fE… in DMPlexReconstructGradients_Internal()
177 PetscFV fvm = NULL; in DMPlexReconstructGradientsFVM()
194 fvm = (PetscFV)obj; in DMPlexReconstructGradientsFVM()
H A Dplexfem.c1064 PetscFV fv; in DMPlexInsertBoundaryValuesRiemann()
1389 PetscErrorCode DMPlexInsertBoundaryValuesFVM(DM dm, PetscFV fv, Vec locX, PetscReal time, Vec *locG… in DMPlexInsertBoundaryValuesFVM()
1495 PetscFV fv = (PetscFV)obj; in DMPlexComputeL2DiffLocal()
1527 PetscCall(PetscFVGetNumComponents((PetscFV)obj, &Nc)); in DMPlexComputeL2DiffLocal()
1559 …else if (id == PETSCFV_CLASSID) PetscCall(PetscFVInterpolate_Static((PetscFV)obj, &x[fieldOffset],… in DMPlexComputeL2DiffLocal()
1785 PetscCall(PetscFVGetNumComponents((PetscFV)obj, &Nc)); in DMComputeL2FieldDiff_Plex()
1823 …else if (id == PETSCFV_CLASSID) PetscCall(PetscFVInterpolate_Static((PetscFV)obj, &x[fOff], q, int… in DMComputeL2FieldDiff_Plex()
1907 PetscFV fv = (PetscFV)obj; in DMPlexComputeL2DiffVec()
1938 PetscCall(PetscFVGetNumComponents((PetscFV)obj, &Nc)); in DMPlexComputeL2DiffVec()
1959 …else if (id == PETSCFV_CLASSID) PetscCall(PetscFVInterpolate_Static((PetscFV)obj, &x[fieldOffset],… in DMPlexComputeL2DiffVec()
[all …]
H A Dplexvtu.c146 static PetscErrorCode DMGetFieldIfFV_Private(DM dm, PetscInt field, PetscFV *fv) in DMGetFieldIfFV_Private()
158 if (fClass == PETSCFV_CLASSID) *fv = (PetscFV)f; in DMGetFieldIfFV_Private()
291 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU()
559 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU()
784 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU()
H A Dplexsection.c600 PetscFV fv = (PetscFV)dm->fields[f].disc; in DMCreateLocalSection_Plex()
/petsc/src/dm/interface/
H A Ddmregall.c197 PETSC_EXTERN PetscErrorCode PetscFVCreate_Upwind(PetscFV);
198 PETSC_EXTERN PetscErrorCode PetscFVCreate_LeastSquares(PetscFV);
/petsc/src/dm/impls/plex/tutorials/
H A Dex3f90.F909 PetscFV :: fvm
/petsc/src/dm/impls/plex/tests/
H A Dex16.c102 PetscFV fvm; in TestBoundaryField()
H A Dex49.c57 PetscFV fv; in SetupDiscretization()
/petsc/src/dm/dt/interface/
H A Ddtds.c140 PetscCall(PetscFVGetNumComponents((PetscFV)obj, &Nc)); in PetscDSView_Ascii()
141 PetscCall(PetscFVGetQuadrature((PetscFV)obj, &q)); in PetscDSView_Ascii()
157 else if (id == PETSCFV_CLASSID) PetscCall(PetscFVView((PetscFV)obj, viewer)); in PetscDSView_Ascii()
399 PetscFV fv = (PetscFV)obj; in PetscDSSetUp()
437 PetscFV fv = (PetscFV)obj; in PetscDSSetUp()
484 PetscFV fv = (PetscFV)obj; in PetscDSSetUp()
756 else if (id == PETSCFV_CLASSID) PetscCall(PetscFVGetSpatialDimension((PetscFV)obj, dim)); in PetscDSGetSpatialDimension()
1168 else if (id == PETSCFV_CLASSID) PetscCall(PetscFVGetQuadrature((PetscFV)obj, q)); in PetscDSGetQuadrature()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c736 PetscFV fvm = (PetscFV)obj; in DMAdaptorPreAdapt()
806 PetscFV fvm = (PetscFV)obj; in DMAdaptorPostAdapt()
884 PetscFV fv = (PetscFV)obj; in DMAdaptorComputeErrorIndicator_Gradient()
/petsc/src/dm/impls/swarm/tests/
H A Dex2.c473 PetscFV fv = (PetscFV)obj; in InterpolateGradient()
511 PetscCall(PetscFVGetNumComponents((PetscFV)obj, &Nc)); in InterpolateGradient()
/petsc/src/ts/tutorials/
H A Dex52.c151 PetscFV fvm; /* specify type of FVM discretization */ in FormFunction()
/petsc/src/dm/impls/forest/tests/
H A Dex2.c190 PetscFV fv; in main()

12