Home
last modified time | relevance | path

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

/honee/src/
H A Ddiff_flux_projection.c26 NodalProjectionData projection; in DivDiffFluxProjectionCreate() local
33 PetscCall(PetscNew(&projection)); in DivDiffFluxProjectionCreate()
38 .projection = projection, in DivDiffFluxProjectionCreate()
41 PetscCall(DMClone(honee->dm, &projection->dm)); in DivDiffFluxProjectionCreate()
42 PetscCall(DMSetMatrixPreallocateSkip(projection->dm, PETSC_TRUE)); in DivDiffFluxProjectionCreate()
43 PetscCall(DMGetDimension(projection->dm, &dim)); in DivDiffFluxProjectionCreate()
46 projection->num_comp = diff_flux_proj_->num_diff_flux_comps; in DivDiffFluxProjectionCreate()
47 PetscCall(PetscObjectSetName((PetscObject)projection->dm, "DivDiffFluxProj")); in DivDiffFluxProjectionCreate()
48 …ByOrder_FEM(PETSC_TRUE, PETSC_TRUE, degree, 1, q_extra, 1, &projection->num_comp, projection->dm)); in DivDiffFluxProjectionCreate()
50 …PetscCall(DMPlexCeedElemRestrictionCreate(honee->ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DE… in DivDiffFluxProjectionCreate()
[all …]
/honee/problems/
H A Dadvection.c148 NodalProjectionData projection = diff_flux_proj->projection; in DivDiffFluxProjectionCreateRHS_Direct_AdvDif() local
154 PetscCall(DMGetDimension(projection->dm, &dim)); in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
177 …PetscCall(QDataGet(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, &elem_restr_qd, &… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
193 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_volume, "diffusive flux RHS", projection->num_co… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
234 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_boundary, "diffusive flux RHS", projection->num_… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
236 PetscCall(DMGetLabel(projection->dm, "Face Sets", &face_sets_label)); in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
237 …PetscCall(DMLabelCreateGlobalValueArray(projection->dm, face_sets_label, &num_face_set_values, &fa… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
245 …PetscCall(DMPlexCreateFaceLabel(projection->dm, face_set_values[f], &face_orientation_label_name)); in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
246 PetscCall(DMGetLabel(projection->dm, face_orientation_label_name, &face_orientation_label)); in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
249 …PetscCall(DMLabelCreateGlobalValueArray(projection->dm, face_orientation_label, &num_orientations_… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif()
[all …]
H A Dnewtonian.c102 NodalProjectionData projection = diff_flux_proj->projection; in DivDiffFluxProjectionCreateRHS_Direct_NS() local
110 PetscCall(DMGetDimension(projection->dm, &dim)); in DivDiffFluxProjectionCreateRHS_Direct_NS()
132 …PetscCall(QDataGet(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, &elem_restr_qd, &… in DivDiffFluxProjectionCreateRHS_Direct_NS()
152 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_volume, "diffusive flux RHS", projection->num_co… in DivDiffFluxProjectionCreateRHS_Direct_NS()
199 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_boundary, "diffusive flux RHS", projection->num_… in DivDiffFluxProjectionCreateRHS_Direct_NS()
201 PetscCall(DMGetLabel(projection->dm, "Face Sets", &face_sets_label)); in DivDiffFluxProjectionCreateRHS_Direct_NS()
202 …PetscCall(DMLabelCreateGlobalValueArray(projection->dm, face_sets_label, &num_face_set_values, &fa… in DivDiffFluxProjectionCreateRHS_Direct_NS()
210 …PetscCall(DMPlexCreateFaceLabel(projection->dm, face_set_values[f], &face_orientation_label_name)); in DivDiffFluxProjectionCreateRHS_Direct_NS()
211 PetscCall(DMGetLabel(projection->dm, face_orientation_label_name, &face_orientation_label)); in DivDiffFluxProjectionCreateRHS_Direct_NS()
214 …PetscCall(DMLabelCreateGlobalValueArray(projection->dm, face_orientation_label, &num_orientations_… in DivDiffFluxProjectionCreateRHS_Direct_NS()
[all …]
/honee/
H A DCHANGELOG.md12 - Add projection of the divergence of diffusive flux for Navier-Stokes equations, see !27
15 - Add projection of the divergence of diffusive flux for advection-diffusion equations, see !43
25 - Enable projection of the divergence of diffusive flux for explicit Navier-Stokes
/honee/doc/
H A Dtheory.md345 To circumvent these issues, we (optionally) perform a projection operation to get $\nabla \cdot \bm…
351 Indirect projection is the method presented in {cite}`jansenDiffFluxProjection1999`.
360 In the direct projection method, we perform an $L^2$ projection of the divergence of the diffusive …
363 To do this, look at the RHS of the $L^2$ projection of $\nabla \cdot \bm F_{\text{diff}}(\bm{q}_N)$:
376 This form is what is used for calculating the RHS of the projection.
377 After the projection, $\nabla \cdot \bm F_{\text{diff}}(\bm{q}_N)$ is interpolated directly to quad…
380 The projection can be enabled using `-div_diff_flux_projection_method direct`.
383 The $L^2$ projection in either method uses the standard mass matrix, which is rowsum lumped for per…
384 The linear solve for the projection can be controlled via `-div_diff_flux_projection_ksp*` flags.
432 The SGS tensor is calculated at nodes using an $L^2$ projection of the velocity gradient and grid a…
H A Dauxiliary.md30 To represent these higher-order functions on the parent FEM space, we perform an $L^2$ projection.
38 The projection of a function $u$ onto the parent FEM space would look like:
70 … calculating the running time average, we can plug this into the $L^2$ projection of the spanwise …
84 The $L^2$ projection problem is only solved when statistics are written to file, which is controlle…
H A Druntime_options.md439 …- Method used to calculate divergence of diffusive flux projection (`none`, `direct`, or `indirect…
444 - Control the KSP object for the projection of the divergence of diffusive flux
/honee/include/
H A Dnavierstokes.h124 NodalProjectionData projection; member