| /libCEED/examples/solids/src/ |
| H A D | setup-dm.c | 21 PetscErrorCode CreateBCLabel(DM dm, const char name[]) { in CreateBCLabel() argument 26 PetscCall(DMCreateLabel(dm, name)); in CreateBCLabel() 27 PetscCall(DMGetLabel(dm, name, &label)); in CreateBCLabel() 28 PetscCall(DMPlexMarkBoundaryFaces(dm, 1, label)); in CreateBCLabel() 34 PetscErrorCode CreateDistributedDM(MPI_Comm comm, AppCtx app_ctx, DM *dm) { in CreateDistributedDM() argument 46 …exCreateBoxMesh(comm, dim, PETSC_FALSE, faces, NULL, NULL, NULL, interpolate, 0, PETSC_FALSE, dm)); in CreateDistributedDM() 48 PetscCall(DMPlexCreateFromFile(comm, filename, NULL, interpolate, dm)); in CreateDistributedDM() 52 PetscCall(DMPlexGetPartitioner(*dm, &part)); in CreateDistributedDM() 54 PetscCall(DMPlexDistribute(*dm, 0, NULL, &distributed_mesh)); in CreateDistributedDM() 56 PetscCall(DMDestroy(dm)); in CreateDistributedDM() [all …]
|
| H A D | misc.c | 23 PetscErrorCode SetupJacobianCtx(MPI_Comm comm, AppCtx app_ctx, DM dm, Vec V, Vec V_loc, CeedData ce… in SetupJacobianCtx() argument 29 jacobian_ctx->dm = dm; in SetupJacobianCtx() 113 DM dm; in ViewSolution() local 130 PetscCall(VecGetDM(U, &dm)); in ViewSolution() 131 PetscCall(DMSetOutputSequenceNumber(dm, increment, load_increment)); in ViewSolution() 158 PetscCall(DMCreateGlobalVector(user->dm, &Diagnostic)); in ViewDiagnosticQuantities() 160 PetscCall(DMCreateLocalVector(user->dm, &Y_loc)); in ViewDiagnosticQuantities() 188 PetscCall(DMLocalToGlobal(user->dm, Y_loc, ADD_VALUES, Diagnostic)); in ViewDiagnosticQuantities() 206 PetscCall(DMLocalToGlobal(user->dm, Y_loc, ADD_VALUES, mult_vec)); in ViewDiagnosticQuantities()
|
| /libCEED/examples/fluids/src/ |
| H A D | dm_utils.c | 27 PetscErrorCode DMFieldToDSField(DM dm, DMLabel domain_label, PetscInt dm_field, PetscInt *ds_field)… in DMFieldToDSField() argument 34 PetscCall(DMGetRegionDS(dm, domain_label, &field_is, &ds, NULL)); in DMFieldToDSField() 45 …PetscCheck(*ds_field != -1, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Could not find dm_fi… in DMFieldToDSField() 64 PetscErrorCode DMPlexCeedElemRestrictionCreate(Ceed ceed, DM dm, DMLabel domain_label, PetscInt lab… in DMPlexCeedElemRestrictionCreate() argument 70 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, label_value, height, dm_field, &num_elem, &elem_… in DMPlexCeedElemRestrictionCreate() 94 PetscErrorCode DMPlexCeedElemRestrictionCoordinateCreate(Ceed ceed, DM dm, DMLabel domain_label, Pe… in DMPlexCeedElemRestrictionCoordinateCreate() argument 99 PetscCall(DMGetCellCoordinateDM(dm, &dm_coord)); in DMPlexCeedElemRestrictionCoordinateCreate() 101 PetscCall(DMGetCoordinateDM(dm, &dm_coord)); in DMPlexCeedElemRestrictionCoordinateCreate() 124 static PetscErrorCode DMPlexCeedElemRestrictionStridedCreate(Ceed ceed, DM dm, DMLabel domain_label… in DMPlexCeedElemRestrictionStridedCreate() argument 134 PetscCall(DMPlexGetDepth(dm, &depth)); in DMPlexCeedElemRestrictionStridedCreate() [all …]
|
| H A D | setupdm.c | 19 …rrorCode CreateDM(MPI_Comm comm, ProblemData problem, MatType mat_type, VecType vec_type, DM *dm) { in CreateDM() argument 22 PetscCall(DMCreate(comm, dm)); in CreateDM() 23 PetscCall(DMSetType(*dm, DMPLEX)); in CreateDM() 27 PetscCall(DMSetMatrixPreallocateSkip(*dm, skip)); in CreateDM() 29 PetscCall(DMSetMatType(*dm, mat_type)); in CreateDM() 30 PetscCall(DMSetVecType(*dm, vec_type)); in CreateDM() 39 PetscCall(DMSetFromOptions(*dm)); in CreateDM() 40 PetscCall(DMViewFromOptions(*dm, NULL, "-dm_view")); in CreateDM() 45 PetscErrorCode SetUpDM(DM dm, ProblemData problem, PetscInt degree, PetscInt q_extra, SimpleBC bc, … in SetUpDM() argument 49 …MSetupByOrderBegin_FEM(PETSC_TRUE, PETSC_TRUE, degree, PETSC_DECIDE, q_extra, 1, &num_comp_q, dm)); in SetUpDM() [all …]
|
| H A D | qdata.c | 20 PetscErrorCode QDataGetNumComponents(DM dm, CeedInt *q_data_size) { in QDataGetNumComponents() argument 24 PetscCall(DMGetDimension(dm, &dim)); in QDataGetNumComponents() 29 PetscCall(DMGetCoordinateDM(dm, &dm_coord)); in QDataGetNumComponents() 43 SETERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, in QDataGetNumComponents() 52 SETERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, in QDataGetNumComponents() 73 PetscErrorCode QDataGet(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_value, CeedElemRestr… in QDataGet() argument 81 PetscCall(QDataGetNumComponents(dm, q_data_size)); in QDataGet() 83 PetscCall(DMGetDimension(dm, &dim)); in QDataGet() 106 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(ceed, dm, domain_label, label_value, height, *q_dat… in QDataGet() 127 PetscErrorCode QDataBoundaryGetNumComponents(DM dm, CeedInt *q_data_size) { in QDataBoundaryGetNumComponents() argument [all …]
|
| H A D | strong_boundary_conditions.c | 16 PetscErrorCode SetupStrongSTG_Ceed(Ceed ceed, CeedData ceed_data, DM dm, ProblemData problem, Simpl… in SetupStrongSTG_Ceed() argument 27 PetscCall(DMGetLabel(dm, "Face Sets", &domain_label)); in SetupStrongSTG_Ceed() 33 PetscCall(DMGetCoordinateDM(dm, &dm_coord)); in SetupStrongSTG_Ceed() 36 PetscCall(CreateBasisFromPlex(ceed, dm, label, label_value, height, dm_field, &basis_q_sur)); in SetupStrongSTG_Ceed() 61 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, domain_label, bc->inflows[i], height, dm_field… in SetupStrongSTG_Ceed() 62 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 66 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 67 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 68 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 69 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() [all …]
|
| H A D | grid_anisotropy_tensor.c | 22 MPI_Comm comm = PetscObjectComm((PetscObject)user->dm); 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() 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() 66 …PetscCall(OperatorApplyContextCreate(user->dm, grid_aniso_proj->dm, ceed, op_rhs_assemble, CEED_VE… 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() [all …]
|
| H A D | inverse_multiplicity.c | 27 PetscErrorCode GetInverseMultiplicity(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_value,… in GetInverseMultiplicity() argument 40 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, label_value, height, 1… in GetInverseMultiplicity() 43 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, domain_label, label_value, height, dm_field, &… in GetInverseMultiplicity() 49 PetscCall(DMGetLocalVector(dm, &Multiplicity_loc)); in GetInverseMultiplicity() 50 PetscCall(DMGetGlobalVector(dm, &Multiplicity)); in GetInverseMultiplicity() 56 PetscCall(DMLocalToGlobal(dm, Multiplicity_loc, ADD_VALUES, Multiplicity)); in GetInverseMultiplicity() 57 PetscCall(DMGlobalToLocal(dm, Multiplicity, INSERT_VALUES, Multiplicity_loc)); in GetInverseMultiplicity() 77 PetscCall(DMRestoreLocalVector(dm, &Multiplicity_loc)); in GetInverseMultiplicity() 78 PetscCall(DMRestoreGlobalVector(dm, &Multiplicity)); in GetInverseMultiplicity()
|
| H A D | turb_spanstats.c | 34 MPI_Comm comm = PetscObjectComm((PetscObject)user->dm); in CreateStatsDM() 42 PetscCall(DMGetBoundingBox(user->dm, domain_min, domain_max)); in CreateStatsDM() 52 PetscCall(DMPlexGetIsoperiodicFaceSF(user->dm, &num_isoperiodicface, &isoperiodicface)); in CreateStatsDM() 63 PetscCall(DMCreateLabel(user->dm, "Periodic Face")); in CreateStatsDM() 64 PetscCall(DMGetLabel(user->dm, "Periodic Face", &label)); in CreateStatsDM() 70 PetscCall(DMGetLabel(user->dm, "Face Sets", &label)); in CreateStatsDM() 73 PetscCall(DMPlexLabelComplete(user->dm, label)); in CreateStatsDM() 74 … PetscCall(DMPlexFilter(user->dm, label, 1, PETSC_FALSE, PETSC_FALSE, NULL, &user->spanstats.dm)); in CreateStatsDM() 75 …PetscCall(DMSetCoordinateDisc(user->spanstats.dm, NULL, PETSC_TRUE)); // Ensure that a coordinate… in CreateStatsDM() 77 PetscCall(DMPlexDistribute(user->spanstats.dm, 0, NULL, &parent_distributed_dm)); in CreateStatsDM() [all …]
|
| H A D | velocity_gradient_projection.c | 22 PetscCall(DMClone(user->dm, &grad_velo_proj->dm)); in VelocityGradientProjectionCreateDM() 23 PetscCall(PetscObjectSetName((PetscObject)grad_velo_proj->dm, "Velocity Gradient Projection")); in VelocityGradientProjectionCreateDM() 26 grad_velo_proj->dm)); in VelocityGradientProjectionCreateDM() 28 PetscCall(DMGetLocalSection(grad_velo_proj->dm, §ion)); in VelocityGradientProjectionCreateDM() 59 PetscCall(DMGetDimension(grad_velo_proj->dm, &dim)); in VelocityGradientProjectionSetup() 63 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, grad_velo_proj->dm, domain_label, label_value, hei… in VelocityGradientProjectionSetup() 65 …PetscCall(CreateBasisFromPlex(ceed, grad_velo_proj->dm, domain_label, label_value, height, dm_fiel… in VelocityGradientProjectionSetup() 97 …PetscCall(OperatorApplyContextCreate(user->dm, grad_velo_proj->dm, ceed, op_rhs_assemble, NULL, NU… in VelocityGradientProjectionSetup() 108 MPI_Comm comm = PetscObjectComm((PetscObject)grad_velo_proj->dm); in VelocityGradientProjectionSetup() 110 PetscCall(MatCreateCeed(grad_velo_proj->dm, grad_velo_proj->dm, op_mass, NULL, &mat_mass)); in VelocityGradientProjectionSetup()
|
| H A D | misc.c | 19 PetscErrorCode ICs_FixMultiplicity(DM dm, CeedData ceed_data, User user, Vec Q_loc, Vec Q, CeedScal… in ICs_FixMultiplicity() argument 32 PetscCall(DMGetLocalVector(dm, &Multiplicity_loc)); in ICs_FixMultiplicity() 37 PetscCall(DMGetGlobalVector(dm, &Multiplicity)); in ICs_FixMultiplicity() 39 PetscCall(DMLocalToGlobal(dm, Multiplicity_loc, ADD_VALUES, Multiplicity)); in ICs_FixMultiplicity() 45 PetscCall(DMRestoreLocalVector(dm, &Multiplicity_loc)); in ICs_FixMultiplicity() 46 PetscCall(DMRestoreGlobalVector(dm, &Multiplicity)); in ICs_FixMultiplicity() 52 PetscErrorCode SetBCsFromICs(DM dm, Vec Q, Vec Q_loc) { in SetBCsFromICs() argument 57 PetscCall(DMGetNamedLocalVector(dm, "Qbc", &Qbc)); in SetBCsFromICs() 60 PetscCall(DMGlobalToLocal(dm, Q, INSERT_VALUES, Q_loc)); in SetBCsFromICs() 62 PetscCall(DMRestoreNamedLocalVector(dm, "Qbc", &Qbc)); in SetBCsFromICs() [all …]
|
| H A D | setuplibceed.c | 59 DM dm = user->dm; in CreateKSPMass() local 69 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in CreateKSPMass() 71 PetscCall(DMCreateLocalVector(dm, &Zeros_loc)); in CreateKSPMass() 73 PetscCall(MatCreateCeed(dm, dm, op_mass, NULL, &mat_mass)); in CreateKSPMass() 94 static PetscErrorCode AddBCSubOperator(Ceed ceed, DM dm, CeedData ceed_data, DMLabel domain_label, … in AddBCSubOperator() argument 104 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, domain_label, label_value, height, dm_field, &… in AddBCSubOperator() 105 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, domain_label, label_value, height, &… in AddBCSubOperator() 108 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(ceed, dm, domain_label, label_value, height, jac_da… in AddBCSubOperator() 112 …PetscCall(QDataBoundaryGet(ceed, dm, domain_label, label_value, elem_restr_x_sur, basis_x_sur, cee… in AddBCSubOperator() 181 static PetscErrorCode AddBCSubOperators(User user, Ceed ceed, DM dm, SimpleBC bc, ProblemData probl… in AddBCSubOperators() argument [all …]
|
| /libCEED/examples/petsc/src/ |
| H A D | petscutils.c | 120 static PetscErrorCode CreateBCLabel(DM dm, const char name[]) { in CreateBCLabel() argument 124 PetscCall(DMCreateLabel(dm, name)); in CreateBCLabel() 125 PetscCall(DMGetLabel(dm, name, &label)); in CreateBCLabel() 126 PetscCall(DMPlexMarkBoundaryFaces(dm, PETSC_DETERMINE, label)); in CreateBCLabel() 127 PetscCall(DMPlexLabelComplete(dm, label)); in CreateBCLabel() 134 PetscErrorCode SetupDMByDegree(DM dm, PetscInt p_degree, PetscInt q_extra, PetscInt num_comp_u, Pet… in SetupDMByDegree() argument 143 PetscCall(DMPlexIsSimplex(dm, &is_simplex)); in SetupDMByDegree() 145 PetscCall(PetscObjectGetComm((PetscObject)dm, &comm)); in SetupDMByDegree() 147 PetscCall(DMAddField(dm, NULL, (PetscObject)fe)); in SetupDMByDegree() 148 PetscCall(DMCreateDS(dm)); in SetupDMByDegree() [all …]
|
| H A D | matops.c | 8 PetscErrorCode SetupApplyOperatorCtx(MPI_Comm comm, DM dm, Ceed ceed, CeedData ceed_data, Vec X_loc… in SetupApplyOperatorCtx() argument 11 op_apply_ctx->dm = dm; in SetupApplyOperatorCtx() 24 PetscErrorCode SetupErrorOperatorCtx(MPI_Comm comm, DM dm, Ceed ceed, CeedData ceed_data, Vec X_loc… in SetupErrorOperatorCtx() argument 28 op_error_ctx->dm = dm; in SetupErrorOperatorCtx() 59 PetscCall(DMLocalToGlobal(op_apply_ctx->dm, op_apply_ctx->Y_loc, ADD_VALUES, D)); in MatGetDiag() 71 PetscCall(DMGlobalToLocal(op_apply_ctx->dm, X, INSERT_VALUES, op_apply_ctx->X_loc)); in ApplyLocal_Ceed() 86 PetscCall(DMLocalToGlobal(op_apply_ctx->dm, op_apply_ctx->Y_loc, ADD_VALUES, Y)); in ApplyLocal_Ceed()
|
| /libCEED/examples/fluids/ |
| H A D | navierstokes.h | 138 DM dm; member 151 DM dm; member 172 DM dm; member 250 extern PetscErrorCode NS_TAYLOR_GREEN(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 251 extern PetscErrorCode NS_GAUSSIAN_WAVE(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 252 extern PetscErrorCode NS_CHANNEL(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 253 extern PetscErrorCode NS_BLASIUS(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 254 extern PetscErrorCode NS_NEWTONIAN_IG(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 255 extern PetscErrorCode NS_DENSITY_CURRENT(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 256 extern PetscErrorCode NS_EULER_VORTEX(ProblemData problem, DM dm, void *ctx, SimpleBC bc); [all …]
|
| H A D | navierstokes.c | 141 DM dm; in main() local 160 PetscCall(CreateDM(comm, problem, mat_type, vec_type, &dm)); in main() 161 user->dm = dm; in main() 162 PetscCall(DMSetApplicationContext(dm, user)); in main() 171 PetscCall((*p)(problem, dm, &user, bc)); in main() 175 PetscCall(SetUpDM(dm, problem, app_ctx->degree, app_ctx->q_extra, bc, phys_ctx)); in main() 178 if (app_ctx->viz_refine) PetscCall(VizRefineDM(dm, user, problem, bc, phys_ctx)); in main() 185 PetscCall(DMCreateGlobalVector(dm, &Q)); in main() 189 PetscCall(DMCreateLocalVector(dm, &user->Q_loc)); in main() 190 PetscCall(DMCreateLocalVector(dm, &user->Q_dot_loc)); in main() [all …]
|
| /libCEED/examples/petsc/ |
| H A D | area.c | 69 DM dm; in main() local 94 PetscCall(DMPlexCreateFromFile(PETSC_COMM_WORLD, filename, NULL, PETSC_TRUE, &dm)); in main() 97 PetscCall(DMPlexCreateSphereMesh(PETSC_COMM_WORLD, topo_dim, simplex, 1., &dm)); in main() 99 PetscCall(DMPlexCreateCoordinateSpace(dm, 1, PETSC_TRUE, NULL)); in main() 102 PetscCall(PetscObjectSetName((PetscObject)dm, problem_types[problem_choice])); in main() 104 PetscCall(DMPlexSetRefinementUniform(dm, PETSC_TRUE)); in main() 105 PetscCall(DMSetFromOptions(dm)); in main() 107 PetscCall(DMViewFromOptions(dm, NULL, "-dm_view")); in main() 111 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main() 135 PetscCall(DMSetVecType(dm, vec_type)); in main() [all …]
|
| H A D | bpssphere.c | 59 DM dm; in main() local 117 PetscCall(DMPlexCreateFromFile(PETSC_COMM_WORLD, filename, NULL, PETSC_TRUE, &dm)); in main() 121 PetscCall(DMPlexCreateSphereMesh(PETSC_COMM_WORLD, topo_dim, simplex, 1., &dm)); in main() 123 PetscCall(PetscObjectSetName((PetscObject)dm, "Sphere")); in main() 125 PetscCall(DMPlexSetRefinementUniform(dm, PETSC_TRUE)); in main() 127 PetscCall(DMSetVecType(dm, vec_type)); in main() 128 PetscCall(DMSetFromOptions(dm)); in main() 130 PetscCall(DMViewFromOptions(dm, NULL, "-dm_view")); in main() 133 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main() 136 PetscCall(DMCreateGlobalVector(dm, &X)); in main() [all …]
|
| /libCEED/examples/petsc/include/ |
| H A D | petscutils.h | 23 PetscErrorCode SetupDMByDegree(DM dm, PetscInt p_degree, PetscInt q_extra, PetscInt num_comp_u, P… 24 PetscErrorCode CreateRestrictionFromPlex(Ceed ceed, DM dm, CeedInt height, DMLabel domain_label, … 26 PetscErrorCode DMFieldToDSField(DM dm, DMLabel domain_label, PetscInt dm_field, PetscInt *ds_fiel… 27 PetscErrorCode BasisCreateFromTabulation(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_v… 29 PetscErrorCode CreateBasisFromPlex(Ceed ceed, DM dm, DMLabel domain_label, CeedInt label_value, C… 31 PetscErrorCode CreateDistributedDM(RunParams rp, DM *dm);
|
| /libCEED/examples/solids/include/ |
| H A D | setup-dm.h | 17 PetscErrorCode CreateBCLabel(DM dm, const char name[]); 20 PetscErrorCode CreateDistributedDM(MPI_Comm comm, AppCtx app_ctx, DM *dm); 23 PetscErrorCode SetupDMByDegree(DM dm, AppCtx app_ctx, PetscInt order, PetscBool boundary, PetscInt …
|
| H A D | setup-libceed.h | 24 PetscErrorCode CreateRestrictionFromPlex(Ceed ceed, DM dm, CeedInt height, DMLabel domain_label, Ce… 27 PetscErrorCode GetRestrictionForDomain(Ceed ceed, DM dm, CeedInt height, DMLabel domain_label, Pets… 31 PetscErrorCode SetupLibceedFineLevel(DM dm, DM dm_energy, DM dm_diagnostic, Ceed ceed, AppCtx app_c… 36 PetscErrorCode SetupLibceedLevel(DM dm, Ceed ceed, AppCtx app_ctx, ProblemData problem_data, PetscI…
|
| /libCEED/examples/fluids/include/ |
| H A D | petsc_ops.h | 26 PetscErrorCode DMGetGlobalVectorInfo(DM dm, PetscInt *local_size, PetscInt *global_size, VecType *v… 27 PetscErrorCode DMGetLocalVectorInfo(DM dm, PetscInt *local_size, PetscInt *global_size, VecType *ve… 30 VecType DMReturnVecType(DM dm); 38 PetscErrorCode DMGetLocalVectorInfo(DM dm, PetscInt *local_size, PetscInt *global_size, VecType *ve… 39 PetscErrorCode DMGetGlobalVectorInfo(DM dm, PetscInt *local_size, PetscInt *global_size, VecType *v…
|
| /libCEED/examples/solids/problems/ |
| H A D | linear.c | 38 PetscErrorCode SetupLibceedFineLevel_ElasLinear(DM dm, DM dm_energy, DM dm_diagnostic, Ceed ceed, A… in SetupLibceedFineLevel_ElasLinear() argument 43 …PetscCall(SetupLibceedFineLevel(dm, dm_energy, dm_diagnostic, ceed, app_ctx, phys_ctx, linear_elas… in SetupLibceedFineLevel_ElasLinear() 49 PetscErrorCode SetupLibceedLevel_ElasLinear(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, Petsc… in SetupLibceedLevel_ElasLinear() argument 53 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, linear_elasticity, level, num_comp_u, U_g_size, U_l… in SetupLibceedLevel_ElasLinear()
|
| H A D | finite-strain-mooney-rivlin.c | 40 PetscErrorCode SetupLibceedFineLevel_ElasFSMR(DM dm, DM dm_energy, DM dm_diagnostic, Ceed ceed, App… in SetupLibceedFineLevel_ElasFSMR() argument 45 …PetscCall(SetupLibceedFineLevel(dm, dm_energy, dm_diagnostic, ceed, app_ctx, phys_ctx, finite_stra… in SetupLibceedFineLevel_ElasFSMR() 51 PetscErrorCode SetupLibceedLevel_ElasFSMR(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscIn… in SetupLibceedLevel_ElasFSMR() argument 55 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, finite_strain_Mooney_Rivlin, level, num_comp_u, U_g… in SetupLibceedLevel_ElasFSMR()
|
| H A D | finite-strain-neo-hookean.c | 40 PetscErrorCode SetupLibceedFineLevel_ElasFSNH(DM dm, DM dm_energy, DM dm_diagnostic, Ceed ceed, App… in SetupLibceedFineLevel_ElasFSNH() argument 45 …PetscCall(SetupLibceedFineLevel(dm, dm_energy, dm_diagnostic, ceed, app_ctx, phys_ctx, finite_stra… in SetupLibceedFineLevel_ElasFSNH() 51 PetscErrorCode SetupLibceedLevel_ElasFSNH(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscIn… in SetupLibceedLevel_ElasFSNH() argument 55 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, finite_strain_neo_Hookean, level, num_comp_u, U_g_s… in SetupLibceedLevel_ElasFSNH()
|