Lines Matching refs:grid_aniso_proj
16 NodalProjectionData grid_aniso_proj; in GridAnisotropyTensorProjectionSetupApply() local
28 PetscCall(PetscNew(&grid_aniso_proj)); in GridAnisotropyTensorProjectionSetupApply()
31 grid_aniso_proj->num_comp = 7; in GridAnisotropyTensorProjectionSetupApply()
32 PetscCall(DMClone(user->dm, &grid_aniso_proj->dm)); in GridAnisotropyTensorProjectionSetupApply()
33 …PetscCall(PetscObjectSetName((PetscObject)grid_aniso_proj->dm, "Grid Anisotropy Tensor Projection"… in GridAnisotropyTensorProjectionSetupApply()
37 …_TRUE, PETSC_TRUE, user->app_ctx->degree, 1, user->app_ctx->q_extra, 1, &grid_aniso_proj->num_comp, in GridAnisotropyTensorProjectionSetupApply()
38 grid_aniso_proj->dm)); in GridAnisotropyTensorProjectionSetupApply()
40 PetscCall(DMGetLocalSection(grid_aniso_proj->dm, §ion)); in GridAnisotropyTensorProjectionSetupApply()
54 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, grid_aniso_proj->dm, domain_label, label_value, he… in GridAnisotropyTensorProjectionSetupApply()
55 …PetscCall(CreateBasisFromPlex(ceed, grid_aniso_proj->dm, domain_label, label_value, height, dm_fie… in GridAnisotropyTensorProjectionSetupApply()
60 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "v", grid_aniso_proj->num_comp, CEED_E… in GridAnisotropyTensorProjectionSetupApply()
66 …PetscCall(OperatorApplyContextCreate(user->dm, grid_aniso_proj->dm, ceed, op_rhs_assemble, CEED_VE… in GridAnisotropyTensorProjectionSetupApply()
69 PetscCall(CreateMassQFunction(ceed, grid_aniso_proj->num_comp, q_data_size, &qf_mass)); in GridAnisotropyTensorProjectionSetupApply()
78 PetscCall(MatCreateCeed(grid_aniso_proj->dm, grid_aniso_proj->dm, op_mass, NULL, &mat_mass)); in GridAnisotropyTensorProjectionSetupApply()
99 PetscCall(DMGetGlobalVector(grid_aniso_proj->dm, &Grid_Anisotropy)); in GridAnisotropyTensorProjectionSetupApply()
107 PetscCall(DMGetLocalVector(grid_aniso_proj->dm, &grid_anisotropy_loc)); in GridAnisotropyTensorProjectionSetupApply()
109 …PetscCall(DMGlobalToLocal(grid_aniso_proj->dm, Grid_Anisotropy, INSERT_VALUES, grid_anisotropy_loc… in GridAnisotropyTensorProjectionSetupApply()
111 PetscCall(DMRestoreLocalVector(grid_aniso_proj->dm, &grid_anisotropy_loc)); in GridAnisotropyTensorProjectionSetupApply()
112 PetscCall(DMRestoreGlobalVector(grid_aniso_proj->dm, &Grid_Anisotropy)); in GridAnisotropyTensorProjectionSetupApply()
116 PetscCall(NodalProjectionDataDestroy(grid_aniso_proj)); in GridAnisotropyTensorProjectionSetupApply()