Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 9 of 9) sorted by relevance

/honee/
H A DMakefile6 pkgconf-path = $(if $(wildcard $(1)/$(2).pc),$(1)/$(2).pc,$(2))
14 petsc.pc := $(call pkgconf-path,$(PETSC_DIR)/$(PETSC_ARCH)/lib/pkgconfig,petsc)
16 CEED_DIR ?= $(if $(wildcard $(PETSC_DIR)/$(PETSC_ARCH)/lib/pkgconfig/ceed.pc),$(PETSC_DIR)/$(PETSC_…
17 ceed.pc := $(call pkgconf-path,$(CEED_DIR)/lib/pkgconfig,ceed)
25 CC = $(call pkgconf, --variable=ccompiler $(petsc.pc) $(ceed.pc))
27 $(call pkgconf, --variable=cflags_extra $(petsc.pc)) \
28 $(call pkgconf, --cflags-only-other $(petsc.pc)) \
31 CPPFLAGS = $(call pkgconf, --cflags-only-I $(petsc.pc) $(ceed.pc)) \
32 $(call pkgconf, --variable=cflags_dep $(petsc.pc)) \
34 CXX = $(call pkgconf, --variable=cxxcompiler $(petsc.pc) $(ceed.pc)) $(if $(PEDANTIC),$(PEDAN…
[all …]
/honee/src/
H A Ddiff_flux_projection.c168 PC pc; in DivDiffFluxProjectionSetup_Direct() local
169 PetscCall(KSPGetPC(projection->ksp, &pc)); in DivDiffFluxProjectionSetup_Direct()
170 PetscCall(PCSetType(pc, PCJACOBI)); in DivDiffFluxProjectionSetup_Direct()
171 PetscCall(PCJacobiSetType(pc, PC_JACOBI_ROWSUM)); in DivDiffFluxProjectionSetup_Direct()
240 PC pc; in DivDiffFluxProjectionSetup_Indirect() local
241 PetscCall(KSPGetPC(projection->ksp, &pc)); in DivDiffFluxProjectionSetup_Indirect()
242 PetscCall(PCSetType(pc, PCJACOBI)); in DivDiffFluxProjectionSetup_Indirect()
243 PetscCall(PCJacobiSetType(pc, PC_JACOBI_ROWSUM)); in DivDiffFluxProjectionSetup_Indirect()
367 PC pc; in DivDiffFluxProjectionApply() local
369 PetscCall(KSPGetPC(projection->ksp, &pc)); in DivDiffFluxProjectionApply()
[all …]
H A Dvelocity_gradient_projection.c125 PC pc; in VelocityGradientProjectionSetup() local
126 PetscCall(KSPGetPC(grad_velo_proj->ksp, &pc)); in VelocityGradientProjectionSetup()
127 PetscCall(PCSetType(pc, PCJACOBI)); in VelocityGradientProjectionSetup()
128 PetscCall(PCJacobiSetType(pc, PC_JACOBI_ROWSUM)); in VelocityGradientProjectionSetup()
H A Dgrid_anisotropy_tensor.c87 PC pc; in GridAnisotropyTensorProjectionSetupApply() local
88 PetscCall(KSPGetPC(grid_aniso_proj->ksp, &pc)); in GridAnisotropyTensorProjectionSetupApply()
89 PetscCall(PCSetType(pc, PCJACOBI)); in GridAnisotropyTensorProjectionSetupApply()
90 PetscCall(PCJacobiSetType(pc, PC_JACOBI_DIAGONAL)); in GridAnisotropyTensorProjectionSetupApply()
H A Dsetuplibceed.c77 PC pc; in CreateKSPMass() local
78 PetscCall(KSPGetPC(honee->mass_ksp, &pc)); in CreateKSPMass()
79 PetscCall(PCSetType(pc, PCJACOBI)); in CreateKSPMass()
80 PetscCall(PCJacobiSetType(pc, PC_JACOBI_ROWSUM)); in CreateKSPMass()
H A Ddifferential_filter.c172 PC pc; in DifferentialFilterCreateOperators() local
173 PetscCall(KSPGetPC(diff_filter->ksp, &pc)); in DifferentialFilterCreateOperators()
174 PetscCall(PCSetType(pc, PCJACOBI)); in DifferentialFilterCreateOperators()
175 PetscCall(PCJacobiSetType(pc, PC_JACOBI_DIAGONAL)); in DifferentialFilterCreateOperators()
H A Dpetsc_ops.c340 PC pc; in CreateSolveOperatorsFromMatCeed() local
343 PetscCall(KSPGetPC(ksp, &pc)); in CreateSolveOperatorsFromMatCeed()
344 PetscCall(PCGetType(pc, &pc_type)); in CreateSolveOperatorsFromMatCeed()
H A Dsetupts.c57 PC pc; in RHS_NS() local
59 PetscCall(KSPGetPC(honee->mass_ksp, &pc)); in RHS_NS()
61 PetscCall(PetscObjectTypeCompare((PetscObject)pc, PCJACOBI, &isjacobi)); in RHS_NS()
62 if (ispreonly && isjacobi) PetscCall(PCApply(pc, R, G)); in RHS_NS()
/honee/src/spanstats/
H A Dspanstats.c332 PC pc; in SpanwiseStatisticsSetupL2Projection() local
333 PetscCall(KSPGetPC(ksp, &pc)); in SpanwiseStatisticsSetupL2Projection()
334 PetscCall(PCSetType(pc, PCJACOBI)); in SpanwiseStatisticsSetupL2Projection()
335 PetscCall(PCJacobiSetType(pc, PC_JACOBI_DIAGONAL)); in SpanwiseStatisticsSetupL2Projection()