| /libCEED/examples/solids/ |
| H A D | elasticity.c | 140 for (PetscInt level = 0; level < num_levels; level++) { in main() local 141 PetscCall(DMClone(dm_orig, &level_dms[level])); in main() 143 PetscCall(DMSetVecType(level_dms[level], vectype)); in main() 144 …PetscCall(SetupDMByDegree(level_dms[level], app_ctx, app_ctx->level_degrees[level], PETSC_TRUE, nu… in main() 148 PetscCall(DMGetLocalSection(level_dms[level], §ion)); in main() 189 for (PetscInt level = 0; level < num_levels; level++) { in main() local 191 PetscCall(DMCreateGlobalVector(level_dms[level], &U_g[level])); in main() 192 PetscCall(VecGetSize(U_g[level], &U_g_size[level])); in main() 194 PetscCall(VecGetLocalSize(U_g[level], &U_l_size[level])); in main() 197 PetscCall(DMCreateLocalVector(level_dms[level], &U_loc[level])); in main() [all …]
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | Examples.md | 8 the low-level C interface. This example uses low-level user Q-functions 10 - `ex1-volume.jl`, a higher-level more idiomatic version of `ex1-volume.c`, 12 - `ex2-surface.jl`, a higher-level, idiomatic version of `ex2-surface.c`.
|
| H A D | C.md | 1 # Low-level C interface 3 The low-level interface (provided in the `LibCEED.C` module) is in one-to-one 9 With the low-level interface, the user is responsible for freeing all allocated 15 the `LibCEED` module, unless other specific low-level functionality is required.
|
| /libCEED/examples/petsc/src/ |
| H A D | libceedsetup.c | 204 PetscErrorCode CeedLevelTransferSetup(DM dm, Ceed ceed, CeedInt level, CeedInt num_comp_u, CeedData… in CeedLevelTransferSetup() argument 224 PetscCall(VecReadP2C(fine_mult, &m_mem_type, data[level]->x_ceed)); in CeedLevelTransferSetup() 226 …CeedOperatorMultigridLevelCreate(data[level]->op_apply, data[level]->x_ceed, data[level - 1]->elem… in CeedLevelTransferSetup() 230 PetscCall(VecReadC2P(data[level]->x_ceed, m_mem_type, fine_mult)); in CeedLevelTransferSetup() 233 data[level - 1]->op_apply = op_apply; in CeedLevelTransferSetup() 234 data[level]->op_prolong = op_prolong; in CeedLevelTransferSetup() 235 data[level]->op_restrict = op_restrict; in CeedLevelTransferSetup()
|
| /libCEED/examples/solids/src/ |
| H A D | setup-libceed.c | 37 PetscErrorCode CeedDataDestroy(CeedInt level, CeedData data) { in CeedDataDestroy() argument 495 …evel(DM dm, Ceed ceed, AppCtx app_ctx, ProblemData problem_data, PetscInt level, PetscInt num_comp… in SetupLibceedLevel() argument 498 CeedInt P = app_ctx->level_degrees[level] + 1; in SetupLibceedLevel() 511 PetscCall(CreateRestrictionFromPlex(ceed, dm, 0, 0, 0, &data[level]->elem_restr_u)); in SetupLibceedLevel() 517 …TensorH1Lagrange(ceed, dim, num_comp_u, P, Q, problem_data.quadrature_mode, &data[level]->basis_u); in SetupLibceedLevel() 522 CeedVectorCreate(ceed, U_loc_size, &data[level]->x_ceed); in SetupLibceedLevel() 523 CeedVectorCreate(ceed, U_loc_size, &data[level]->y_ceed); in SetupLibceedLevel() 530 …CeedOperatorMultigridLevelCreate(data[level + 1]->op_jacobian, fine_mult, data[level]->elem_restr_… in SetupLibceedLevel() 534 data[level]->op_jacobian = op_jacobian; in SetupLibceedLevel() 535 data[level + 1]->op_prolong = op_prolong; in SetupLibceedLevel() [all …]
|
| H A D | misc.c | 87 for (PetscInt level = 0; level < num_levels; level++) { in FormJacobian() local 88 PetscCall(MatAssemblyBegin(jacob_mat[level], MAT_FINAL_ASSEMBLY)); in FormJacobian() 89 PetscCall(MatAssemblyEnd(jacob_mat[level], MAT_FINAL_ASSEMBLY)); in FormJacobian()
|
| /libCEED/examples/solids/include/ |
| H A D | setup-libceed.h | 18 PetscErrorCode CeedDataDestroy(CeedInt level, CeedData data); 36 …evel(DM dm, Ceed ceed, AppCtx app_ctx, ProblemData problem_data, PetscInt level, PetscInt num_comp…
|
| /libCEED/examples/solids/problems/ |
| H A D | linear.c | 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 | 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 | 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()
|
| H A D | problems.h | 34 …PetscErrorCode SetupLibceedLevel_##name(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt…
|
| /libCEED/rust/libceed-sys/ |
| H A D | README.md | 3 This is the documentation for the low level (unsafe) Rust bindings to the libCEED C interface. 5 Note that most Rust users will prefer the higher level (safe) Rust interface in the [`libceed` crat… 7 libCEED is a low-level API for for the efficient high-order discretization methods developed by the… 12 To use low level libCEED bindings in a Rust package, the following `Cargo.toml` can be used.
|
| H A D | Cargo.toml | 16 Low-level bindings for libCEED library.
|
| /libCEED/python/tests/ |
| H A D | setup.cfg | 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
|
| /libCEED/examples/petsc/include/ |
| H A D | libceedsetup.h | 21 PetscErrorCode CeedLevelTransferSetup(DM dm, Ceed ceed, CeedInt level, CeedInt num_comp_u, CeedData…
|
| /libCEED/doc/sphinx/source/ |
| H A D | ffi.md | 3 libCEED provides high-level interfaces using the Julia, Python, and Rust programming languages.
|
| H A D | intro.md | 25 libCEED provides a low-level Application Programming Interface (API) for user codes so that applica… 32 The role of libCEED as a lightweight, portable library which provides a low-level API for efficient…
|
| /libCEED/rust/libceed/ |
| H A D | Cargo.toml | 15 High-level interface for libCEED - the efficient high-order discretization library developed by the…
|
| H A D | README.md | 7 The formulation is algebraic and intended to be lightweight and easy to incorporate in higher level…
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | C.jl | 1 # Low-level C API for libCEED
|
| /libCEED/tests/ |
| H A D | README.md | 29 5. CeedOperator multigrid level tests\
|
| H A D | t320-basis-f.h | 2 ! All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
|
| /libCEED/doc/sphinx/source/api/ |
| H A D | index.rst | 22 U(High-level user code) -->|apply| O
|
| /libCEED/include/ceed/ |
| H A D | fortran.h | 2 ! All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
|
| /libCEED/doc/papers/joss/ |
| H A D | paper.md | 78 Users and library developers can integrate `libCEED` at a low level into existing applications in p… 129 # High-level languages 131 `libCEED` provides high-level interfaces in Python, Julia, and Rust, each of which is maintained an… 135 …es both a low-level interface, which is generated automatically from `libCEED`'s C header files, a…
|