Home
last modified time | relevance | path

Searched refs:mat_mass (Results 1 – 4 of 4) sorted by relevance

/libCEED/examples/fluids/src/
H A Dvelocity_gradient_projection.c107 Mat mat_mass; in VelocityGradientProjectionSetup() local
110 PetscCall(MatCreateCeed(grad_velo_proj->dm, grad_velo_proj->dm, op_mass, NULL, &mat_mass)); in VelocityGradientProjectionSetup()
121 PetscCall(KSPSetFromOptions_WithMatCeed(grad_velo_proj->ksp, mat_mass)); in VelocityGradientProjectionSetup()
122 PetscCall(MatDestroy(&mat_mass)); in VelocityGradientProjectionSetup()
H A Dgrid_anisotropy_tensor.c76 Mat mat_mass; in GridAnisotropyTensorProjectionSetupApply() local
78 PetscCall(MatCreateCeed(grid_aniso_proj->dm, grid_aniso_proj->dm, op_mass, NULL, &mat_mass)); in GridAnisotropyTensorProjectionSetupApply()
91 PetscCall(KSPSetFromOptions_WithMatCeed(ksp, mat_mass)); in GridAnisotropyTensorProjectionSetupApply()
92 PetscCall(MatDestroy(&mat_mass)); in GridAnisotropyTensorProjectionSetupApply()
H A Dsetuplibceed.c67 Mat mat_mass; in CreateKSPMass() local
73 PetscCall(MatCreateCeed(dm, dm, op_mass, NULL, &mat_mass)); in CreateKSPMass()
74 PetscCall(MatCeedSetLocalVectors(mat_mass, Zeros_loc, NULL)); in CreateKSPMass()
85 PetscCall(KSPSetFromOptions_WithMatCeed(user->mass_ksp, mat_mass)); in CreateKSPMass()
87 PetscCall(MatDestroy(&mat_mass)); in CreateKSPMass()
H A Dturb_spanstats.c328 Mat mat_mass; in SetupL2ProjectionStats() local
331 PetscCall(MatCreateCeed(user->spanstats.dm, user->spanstats.dm, op_mass, NULL, &mat_mass)); in SetupL2ProjectionStats()
344 PetscCall(KSPSetFromOptions_WithMatCeed(ksp, mat_mass)); in SetupL2ProjectionStats()
346 PetscCall(MatDestroy(&mat_mass)); in SetupL2ProjectionStats()