Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 53) sorted by relevance

123

/libCEED/tests/
H A Dt525-operator.c16 double time; member
32 .time = 1.0, in main()
67 …CeedQFunctionContextRegisterDouble(qf_ctx_sub_2, "time", offsetof(TestContext2, time), 1, "current… in main()
84 …if (ctx_data_2.time != 2.0) printf("Incorrect context data for time: %f != 2.0\n", ctx_data_2.time in main()
91 …if (values[0] != ctx_data_2.time) printf("Incorrect value found, found %f but expected %f", values… in main()
H A Dt407-qfunction.c11 double time; member
22 .time = 1.0, in main()
32 CeedQFunctionContextRegisterDouble(ctx, "time", offsetof(TestContext, time), 1, "current time"); in main()
79 if (ctx_data.time != 2.0) printf("Incorrect context data for time: %f != 2.0\n", ctx_data.time); in main()
H A Djunit_common.py15 import time
620 … timestamp=time.strftime('%Y-%m-%d %H:%M:%S %Z', time.localtime()),
626 start: float = time.time()
635 elapsed_sec=time.time() - start,
636 timestamp=time.strftime('%Y-%m-%d %H:%M:%S %Z', time.localtime(start)),
/libCEED/examples/fluids/qfunctions/
H A Dnewtonian_types.h37 CeedScalar time; member
68 CeedScalar time; member
H A Dstg_shur14.h290 const CeedScalar time = stg_ctx->time; in ICsStg() local
308 StgShur14Calc(x_i, time, ubar, cij, qn, u, stg_ctx); in ICsStg()
344 const CeedScalar time = stg_ctx->time; in StgShur14Inflow() local
366 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14Inflow()
480 const CeedScalar time = stg_ctx->time; in StgShur14InflowStrongQF() local
501 …StgShur14Calc_PrecompEktot(x, time, ubar, cij, inv_Ektotal[i], h_node_sep, x[1], eps, lt, nu, u, s… in StgShur14InflowStrongQF()
505 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14InflowStrongQF()
H A Dstg_shur14_type.h25 CeedScalar time; // !< Solution time member
H A Dadvection_types.h58 CeedScalar time; member
H A Ddensitycurrent.h86 CEED_QFUNCTION_HELPER State Exact_DC(CeedInt dim, CeedScalar time, const CeedScalar X[], CeedInt Nf… in Exact_DC() argument
H A Dadvection.h72 CEED_QFUNCTION_HELPER CeedInt Exact_AdvectionGeneric(CeedInt dim, CeedScalar time, const CeedScalar… in Exact_AdvectionGeneric() argument
82 …alar x0[3] = {center[0] + .25 * lx * cos(theta + time), center[1] + .25 * ly * sin(theta + tim… in Exact_AdvectionGeneric()
190 Exact_AdvectionGeneric(2, context->time, x, 5, q, ctx); in ICsAdvection2d()
/libCEED/examples/fluids/src/
H A Dsetupts.c178 PetscErrorCode WriteOutput(User user, Vec Q, PetscInt step_no, PetscScalar time) { in WriteOutput() argument
233 time /= user->units->second; // Dimensionalize time back in WriteOutput()
234 PetscCall(PetscViewerBinaryWrite(viewer, &time, 1, PETSC_REAL)); in WriteOutput()
241 PetscErrorCode TSMonitor_WallForce(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_WallForce() argument
268 …ViewerASCIIPrintf(viewer, "%" PetscInt_FMT ",%g,%" PetscInt_FMT ",%g,%g,%g\n", step_no, time, wall, in TSMonitor_WallForce()
282 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_NS() argument
292 PetscCall(WriteOutput(user, Q, step_no, time)); in TSMonitor_NS()
419 … PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Time taken for solution (sec): %g\n", stage_perf.time)); in TSSolve_NS()
H A Dmisc.c19 …Code ICs_FixMultiplicity(DM dm, CeedData ceed_data, User user, Vec Q_loc, Vec Q, CeedScalar time) { in ICs_FixMultiplicity() argument
26 …(ceed, CeedOperatorSetContextDouble(ceed_data->op_ics_ctx->op, user->phys->ics_time_label, &time)); in ICs_FixMultiplicity()
80 …aryValues_FromICs(DM dm, PetscBool insert_essential, Vec Q_loc, PetscReal time, Vec face_geom_FVM,… in DMPlexInsertBoundaryValues_FromICs() argument
114 PetscErrorCode LoadFluidsBinaryVec(MPI_Comm comm, PetscViewer viewer, Vec Q, PetscReal *time, Petsc… in LoadFluidsBinaryVec() argument
128 if (time) *time = file_time; in LoadFluidsBinaryVec()
H A Dstrong_boundary_conditions.c134 …alues_StrongBCCeed(DM dm, PetscBool insert_essential, Vec Q_loc, PetscReal time, Vec face_geom_FVM, in DMPlexInsertBoundaryValues_StrongBCCeed() argument
143 …dOperatorSetContextDouble(user->op_strong_bc_ctx->op, user->phys->stg_solution_time_label, &time)); in DMPlexInsertBoundaryValues_StrongBCCeed()
/libCEED/examples/fluids/
H A DREADME.md7 …es the compressible Navier-Stokes equations in three dimensions using an explicit time integration.
59 - Use implicit time integrator formulation
75 - Number of time steps between visualization output frames.
111 - Path to time stamp binary file (only for legacy checkpoints)
112 - `[output_dir]/ns-time.bin`
183 - View comprehensive information about run-time options
297 At the time of this writing, it only supports one direction of periodicity.
325 - 1 second in scaled time units
445 - 1 second in scaled time units
489 - 1 second in scaled time units
[all …]
H A Dindex.md6time-dependent Navier-Stokes equations of compressible gas dynamics in a static Eulerian three-dim…
109 For the time discretization, we use two types of time stepping schemes through PETSc.
111 #### Explicit time-stepping method
113 …he adaptive Runge-Kutta-Fehlberg (RKF4-5) method by default (any explicit time-stepping scheme ava…
137 #### Implicit time-stepping method
139time stepping method which can be selected using the option `-implicit` is solved with Backward Di…
146 where the time derivative $\bm{\dot q}_N$ is defined by
152 …$ from prior state and $\alpha > 0$, both of which depend on the specific time integration scheme …
160 …The scalar "shift" $\alpha$ scales inversely with the time step $\Delta t$, so small time steps re…
161 …In contrast, the first term dominates for large time steps, with a condition number that grows wit…
[all …]
H A Dnavierstokes.h310 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx);
350 …rCode ICs_FixMultiplicity(DM dm, CeedData ceed_data, User user, Vec Q_loc, Vec Q, CeedScalar time);
352 …aryValues_FromICs(DM dm, PetscBool insert_essential, Vec Q_loc, PetscReal time, Vec face_geom_FVM,…
/libCEED/examples/fluids/include/
H A Dmat-ceed.h28 PETSC_CEED_INTERN PetscErrorCode MatCeedSetTime(Mat mat, PetscReal time);
29 PETSC_CEED_INTERN PetscErrorCode MatCeedGetTime(Mat mat, PetscReal *time);
/libCEED/backends/magma/tuning/
H A Dgenerate_tuning.py17 import time
99 start = time.perf_counter()
/libCEED/examples/deal.II/
H A Dbps-kokkos.cc230 const auto time = in main() local
239 << (params.print_timings ? time : 0.0) << std::endl; in main()
H A Dbps-cpu.cc230 const auto time = in main() local
239 << (params.print_timings ? time : 0.0) << std::endl; in main()
/libCEED/doc/sphinx/source/
H A Dprecision.md14 …e run using `make test FC=` because the Fortran tests do not support single precision at this time.
18 …s of the {code}`CeedScalarType` {code}`enum`, and can be used for compile-time checking of {code}`…
H A DCODE_OF_CONDUCT.md61 …g unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time.
69 … any sort of interaction or public communication with the community for a specified period of time.
/libCEED/doc/papers/joss/
H A Dpaper.md76 …ortable performance via run-time selection of implementations optimized for CPUs and GPUs, includi…
118 …hematic}), in contrast to systems like FEniCS where UFL forms specify basis degree at compile time.
120 …transparently using the @NVRTCwebsite, HIPRTC, or OCCA [@OCCAwebsite] run-time compilation feature…
135 …gh-level interface takes advantage of Julia's metaprogramming and just-in-time compilation capabil…
142 …es/generics) and can select the desired specialized implementation at run time. Moreover, each pro…
156 …kes equations using SU/SUPG stabilization and implicit, explicit, or IMEX time integration; \autor…
/libCEED/julia/LibCEED.jl/docs/src/
H A DMisc.md17 this case, `dim` should be known as a compile-time constant, otherwise it will
/libCEED/julia/LibCEED.jl/src/
H A DUserQFunction.jl207 The definitions of form `const=val` are used for definitions which will be compile-time
210 compile-time constant.
227 array. `dim` is given as a compile-time constant, and so the array `J` is statically
/libCEED/
H A DCODE_OF_CONDUCT.md61 …g unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time.
69 … any sort of interaction or public communication with the community for a specified period of time.

123