| /libCEED/examples/petsc/ |
| H A D | README.md | 11 To run, `./bpsraw -ceed [ceed-resource] -problem bp[1-6] -degree [degree]` 23 To run, `./bps -ceed [ceed-resource] -problem bp[1-6] -degree [degree]` 35 mpiexec -n 64 ./bps -problem bp1,bp2,bp3,bp4 -degree 2,3,5,7 \ 48 To run, `./multigrid -ceed [ceed-resource] -problem bp[1-6] -degree [degree]` 61 - `-degree` - Polynomial degree of tensor product basis 72 To run, `./area -problem cube -ceed [ceed-resource] -petscspace_degree [degree]` 76 `./area -problem sphere -ceed [ceed-resource] -petscspace_degree [degree]` 84 - `-petscspace_degree` - Polynomial degree of tensor product basis
|
| H A D | area.c | 66 degree = 3; // default degree for finite element bases in main() local 89 …scOptionsInt("-degree", "Polynomial degree of tensor product basis", NULL, degree, °ree, NULL)); in main() 111 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main() 148 PetscInt P = degree + 1, Q = P + q_extra; in main() 168 …PetscCall(SetupLibceedByDegree(dm, ceed, degree, topo_dim, q_extra, num_comp_x, num_comp_u, g_size… in main()
|
| H A D | bpssphere.c | 53 …PetscInt degree = 3, q_extra, l_size, g_size, topo_dim = 2, num_comp_x = 3, num_comp_u… in main() local 84 degree = test_mode ? 3 : 2; in main() 85 …scOptionsInt("-degree", "Polynomial degree of tensor product basis", NULL, degree, °ree, NULL)); in main() 133 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main() 151 PetscInt P = degree + 1, Q = P + q_extra; in main() 175 …PetscCall(SetupLibceedByDegree(dm, ceed, degree, topo_dim, q_extra, num_comp_x, num_comp_u, g_size… in main()
|
| H A D | bps.c | 111 PetscInt P = rp->degree + 1, Q = P + rp->q_extra; in RunWithDM() 167 …PetscCall(SetupLibceedByDegree(dm, ceed, rp->degree, rp->dim, rp->q_extra, rp->dim, rp->num_comp_u… in RunWithDM() 339 …PetscCall(SetupDMByDegree(dm_deg, rp->degree, rp->q_extra, rp->num_comp_u, dim, bp_options[rp->bp_… in Run() 361 PetscInt num_degrees = 30, degree[30] = {0}, num_local_nodes = 2, local_nodes[2] = {0}; in main() local 406 degree[0] = rp->test_mode ? 3 : 2; in main() 407 …nsIntArray("-degree", "Polynomial degree of tensor product basis", NULL, degree, &num_degrees, &de… in main() 444 for (PetscInt i = 0; i < max_degree; i++) degree[i] = i + 1; in main() 465 PetscInt deg = degree[d]; in main() 467 rp->degree = deg; in main()
|
| H A D | bpsraw.c | 59 static void GlobalNodes(const PetscInt p[3], const PetscInt i_rank[3], PetscInt degree, const P… in GlobalNodes() argument 60 for (int d = 0; d < 3; d++) m_nodes[d] = degree * mesh_elem[d] + (i_rank[d] == p[d] - 1); in GlobalNodes() 62 static PetscInt GlobalStart(const PetscInt p[3], const PetscInt i_rank[3], PetscInt degree, const P… in GlobalStart() argument 70 GlobalNodes(p, ijk_rank, degree, mesh_elem, m_nodes); in GlobalStart() 342 …PetscInt degree, q_extra, local_nodes, local_elem, mesh_elem[3], m_nodes[3], p[3], i_rank[3], l_no… in main() local 378 degree = test_mode ? 3 : 1; in main() 379 …scOptionsInt("-degree", "Polynomial degree of tensor product basis", NULL, degree, °ree, NULL)); in main() 391 P = degree + 1; in main() 419 for (local_elem = PetscMax(1, local_nodes / (degree * degree * degree));; local_elem++) { in main() 432 GlobalNodes(p, i_rank, degree, mesh_elem, m_nodes); in main() [all …]
|
| H A D | multigrid.c | 52 …PetscInt degree = 3, q_extra, *l_size, *xl_size, *g_size, dim = 3, fine_level, mesh_elem[3] = {3, … in main() local 95 degree = test_mode ? 3 : 2; in main() 96 …scOptionsInt("-degree", "Polynomial degree of tensor product basis", NULL, degree, °ree, NULL)); in main() 97 …if (degree < 1) SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_ARG_OUTOFRANGE, "-degree %" PetscInt_FMT " mus… in main() 149 num_levels = degree; in main() 152 num_levels = ceil(log(degree) / log(2)) + 1; in main() 164 level_degrees[fine_level] = degree; in main() 223 PetscInt P = degree + 1, Q = P + q_extra; in main()
|
| H A D | bpsswarm.c | 56 …PetscInt degree, q_extra, l_size, g_size, dim = 3, num_comp_u = 1, xl_size, num_points… in main() local 101 degree = 2; in main() 102 …scOptionsInt("-degree", "Polynomial degree of tensor product basis", NULL, degree, °ree, NULL)); in main() 189 …PetscCall(SetupDMByDegree(dm_mesh, degree, q_extra, num_comp_u, dim, bp_options[bp_choice].enforce… in main() 238 PetscInt P = degree + 1, Q = P + q_extra; in main()
|
| /libCEED/examples/solids/src/ |
| H A D | cl-options.c | 33 app_ctx->degree = 3; in ProcessCommandLineOptions() 34 …ree", "Polynomial degree of tensor product basis", NULL, app_ctx->degree, &app_ctx->degree, NULL)); in ProcessCommandLineOptions() 164 app_ctx->num_levels = ceil(log(app_ctx->degree) / log(2)) + 1; in ProcessCommandLineOptions() 167 app_ctx->num_levels = app_ctx->degree; in ProcessCommandLineOptions() 180 app_ctx->level_degrees[app_ctx->num_levels - 1] = app_ctx->degree; in ProcessCommandLineOptions() 186 app_ctx->level_degrees[0] = app_ctx->degree; in ProcessCommandLineOptions()
|
| /libCEED/examples/fluids/ |
| H A D | conv_test.sh | 21 run_flags[degree]=2 45 run_flags[degree]=$d
|
| /libCEED/examples/solids/ |
| H A D | README.md | 20 ./elasticity -mesh [.exo file] -degree [degree] -nu [nu] -E [E] [boundary options] -problem [proble… 37 * - `-degree [int]` 38 - Polynomial degree of the finite element basis 65 ./elasticity -mesh [.exo file] -degree 4 -E 1e6 -nu 0.3 -bc_clamp 998,999 -bc_clamp_998_translate 0… 158 ./elasticity -mesh [mesh] -degree [degree] -nu [nu] -E [E] -forcing mms 170 The default smoother uses degree 3 Chebyshev with Jacobi preconditioning. 171 …(Lower degree is often faster, albeit less robust; try {code}`-outer_mg_levels_ksp_max_it 2`, for … 172 …Application of the linear operators for all levels with degree $p > 1$ is performed matrix-free us…
|
| /libCEED/examples/python/ |
| H A D | ex_common.py | 59 def get_cartesian_mesh_size(dim, degree, prob_size): argument 71 num_elem = prob_size // (degree ** dim) 91 def build_cartesian_restriction(ceed, dim, num_xyz, degree, num_comp, num_q_comp, num_qpts, create_… argument 107 p = degree + 1 # Nodes per element per dimension
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Quadrature.jl | 4 Return the Gauss-Legendre quadrature rule with `q` points (integrates polynomials of degree 23 Return the Gauss-Lobatto quadrature rule with `q` points (integrates polynomials of degree
|
| /libCEED/examples/fluids/tests-output/ |
| H A D | fluids-navierstokes-conv-euler.csv | 1 ,mesh_res,degree,rel_error
|
| /libCEED/examples/fluids/src/ |
| H A D | setupdm.c | 45 PetscErrorCode SetUpDM(DM dm, ProblemData problem, PetscInt degree, PetscInt q_extra, SimpleBC bc, … in SetUpDM() argument 49 …PetscCall(DMSetupByOrderBegin_FEM(PETSC_TRUE, PETSC_TRUE, degree, PETSC_DECIDE, q_extra, 1, &num_c… in SetUpDM() 119 for (PetscInt i = 0, d = user->app_ctx->degree; i < user->app_ctx->viz_refine; i++) { in VizRefineDM()
|
| H A D | cloptions.c | 102 app_ctx->degree = 1; in ProcessCommandLineOptions() 103 …"-degree", "Polynomial degree of finite elements", NULL, app_ctx->degree, &app_ctx->degree, NULL)); in ProcessCommandLineOptions()
|
| H A D | velocity_gradient_projection.c | 16 …elocityGradientProjectionCreateDM(NodalProjectionData grad_velo_proj, User user, PetscInt degree) { in VelocityGradientProjectionCreateDM() argument 25 …PetscCall(DMSetupByOrder_FEM(PETSC_TRUE, PETSC_TRUE, user->app_ctx->degree, 1, user->app_ctx->q_ex… in VelocityGradientProjectionCreateDM() 56 PetscCall(VelocityGradientProjectionCreateDM(grad_velo_proj, user, user->app_ctx->degree)); in VelocityGradientProjectionSetup()
|
| H A D | dm_utils.c | 417 …ByOrderBegin_FEM(PetscBool setup_faces, PetscBool setup_coords, PetscInt degree, PetscInt coord_or… in DMSetupByOrderBegin_FEM() argument 419 PetscInt dim, q_order = degree + q_extra; in DMSetupByOrderBegin_FEM() 431 PetscInt q_order = degree + q_extra; in DMSetupByOrderBegin_FEM() 433 PetscCall(PetscFECreateLagrange(comm, dim, field_sizes[i], is_simplex, degree, q_order, &fe)); in DMSetupByOrderBegin_FEM() 510 PetscErrorCode DMSetupByOrder_FEM(PetscBool setup_faces, PetscBool setup_coords, PetscInt degree, P… in DMSetupByOrder_FEM() argument 513 …PetscCall(DMSetupByOrderBegin_FEM(setup_faces, setup_coords, degree, coord_order, q_extra, num_fie… in DMSetupByOrder_FEM()
|
| /libCEED/examples/ceed/ |
| H A D | ex2-surface.c | 48 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[3]); 49 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[3], CeedInt degree, Ce… 314 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[3]) { in GetCartesianMeshSize() argument 317 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 338 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[3], CeedInt degree, CeedInt n… in BuildCartesianRestriction() argument 340 CeedInt p = degree + 1; in BuildCartesianRestriction()
|
| H A D | ex3-volume.c | 47 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim… 48 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, … 283 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize() argument 286 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 307 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction() argument 309 CeedInt p = degree + 1; in BuildCartesianRestriction()
|
| H A D | ex1-volume.c | 48 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim… 49 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, … 294 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize() argument 297 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 318 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction() argument 320 CeedInt p = degree + 1; in BuildCartesianRestriction()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 49 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim… 50 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, … 304 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize() argument 307 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 328 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction() argument 330 CeedInt p = degree + 1; in BuildCartesianRestriction()
|
| /libCEED/examples/rust/mesh/src/ |
| H A D | lib.rs | 48 degree: usize, 52 let p = degree + 1;
|
| /libCEED/benchmarks/ |
| H A D | petsc-bpsraw.sh | 31 local all_args=("${common_args[@]}" -degree $sol_p -local $loc_dofs -problem $bp)
|
| H A D | petsc-bps.sh | 30 local all_args=("${common_args[@]}" -degree $sol_p -local_nodes $loc_nodes -problem $bp)
|
| H A D | README.md | 31 * `max_p=<number>`, e.g. `max_p=12` - this sets the highest degree for which the 32 tests will be run (the lowest degree is 1); the default value is 8.
|