Home
last modified time | relevance | path

Searched refs:check_flag (Results 51 – 75 of 494) sorted by relevance

12345678910>>...20

/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/C_openmpdev/
H A Dark_heat1D_adapt_ompdev.c177 if (check_flag(&flag, "ARKStepSetUserData", 1)) return 1; in main()
181 if (check_flag(&flag, "ARKStepSStolerances", 1)) return 1; in main()
189 if (check_flag(&flag, "ARKStepSetLinear", 1)) return 1; in main()
193 if (check_flag((void *)LS, "SUNLinSol_PCG", 0)) return 1; in main()
199 if (check_flag(&flag, "ARKStepSetJacTimes", 1)) return 1; in main()
215 if (check_flag(&flag, "ARKStepSetStopTime", 1)) return 1; in main()
217 if (check_flag(&flag, "ARKStepSetInitStep", 1)) return 1; in main()
221 if (check_flag(&flag, "ARKStepEvolve", 1)) return 1; in main()
251 if (check_flag(xnew_host, "ark_adapt", 0)) return 1; in main()
263 if (check_flag(&flag, "project", 1)) return 1; in main()
[all …]
/dports/math/sundials/sundials-5.7.0/examples/arkode/C_openmpdev/
H A Dark_heat1D_adapt_ompdev.c177 if (check_flag(&flag, "ARKStepSetUserData", 1)) return 1; in main()
181 if (check_flag(&flag, "ARKStepSStolerances", 1)) return 1; in main()
189 if (check_flag(&flag, "ARKStepSetLinear", 1)) return 1; in main()
193 if (check_flag((void *)LS, "SUNLinSol_PCG", 0)) return 1; in main()
199 if (check_flag(&flag, "ARKStepSetJacTimes", 1)) return 1; in main()
215 if (check_flag(&flag, "ARKStepSetStopTime", 1)) return 1; in main()
217 if (check_flag(&flag, "ARKStepSetInitStep", 1)) return 1; in main()
221 if (check_flag(&flag, "ARKStepEvolve", 1)) return 1; in main()
251 if (check_flag(xnew_host, "ark_adapt", 0)) return 1; in main()
263 if (check_flag(&flag, "project", 1)) return 1; in main()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/C_serial/
H A Dark_brusselator_fp.c151 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
176 if (check_flag(&flag, "ARKStepSetUserData", 1)) return 1; in main()
178 if (check_flag(&flag, "ARKStepSStolerances", 1)) return 1; in main()
180 if (check_flag(&flag, "ARKStepSetMaxNonlinIters", 1)) return 1; in main()
199 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
218 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
220 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
222 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
224 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
226 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
[all …]
H A Dark_brusselator1D.c129 if (check_flag((void *) udata, "malloc", 2)) return 1; in main()
212 if (check_flag(&flag, "ARKStepSetJacFn", 1)) return 1; in main()
244 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
275 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
277 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
279 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
281 check_flag(&flag, "ARKStepGetNumLinSolvSetups", 1); in main()
283 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
285 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
289 check_flag(&flag, "ARKStepGetNumJacEvals", 1); in main()
[all …]
H A Dark_analytic_nonlin.c50 static int check_flag(void *flagvalue, const char *funcname, int opt);
78 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
85 if (check_flag((void *)arkode_mem, "ERKStepCreate", 0)) return 1; in main()
89 if (check_flag(&flag, "ERKStepSStolerances", 1)) return 1; in main()
107 if (check_flag(&flag, "ERKStepEvolve", 1)) break; in main()
123 check_flag(&flag, "ERKStepGetNumSteps", 1); in main()
125 check_flag(&flag, "ERKStepGetNumStepAttempts", 1); in main()
127 check_flag(&flag, "ERKStepGetNumRhsEvals", 1); in main()
129 check_flag(&flag, "ERKStepGetNumErrTestFails", 1); in main()
165 static int check_flag(void *flagvalue, const char *funcname, int opt) in check_flag() function
/dports/math/sundials/sundials-5.7.0/examples/arkode/C_serial/
H A Dark_brusselator_fp.c152 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
177 if (check_flag(&flag, "ARKStepSetUserData", 1)) return 1; in main()
179 if (check_flag(&flag, "ARKStepSStolerances", 1)) return 1; in main()
181 if (check_flag(&flag, "ARKStepSetMaxNonlinIters", 1)) return 1; in main()
200 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
219 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
221 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
223 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
225 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
227 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
[all …]
H A Dark_brusselator1D.c129 if (check_flag((void *) udata, "malloc", 2)) return 1; in main()
212 if (check_flag(&flag, "ARKStepSetJacFn", 1)) return 1; in main()
244 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
275 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
277 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
279 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
281 check_flag(&flag, "ARKStepGetNumLinSolvSetups", 1); in main()
283 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
285 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
289 check_flag(&flag, "ARKStepGetNumJacEvals", 1); in main()
[all …]
H A Dark_analytic_nonlin.c50 static int check_flag(void *flagvalue, const char *funcname, int opt);
78 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
85 if (check_flag((void *)arkode_mem, "ERKStepCreate", 0)) return 1; in main()
89 if (check_flag(&flag, "ERKStepSStolerances", 1)) return 1; in main()
107 if (check_flag(&flag, "ERKStepEvolve", 1)) break; in main()
123 check_flag(&flag, "ERKStepGetNumSteps", 1); in main()
125 check_flag(&flag, "ERKStepGetNumStepAttempts", 1); in main()
127 check_flag(&flag, "ERKStepGetNumRhsEvals", 1); in main()
129 check_flag(&flag, "ERKStepGetNumErrTestFails", 1); in main()
165 static int check_flag(void *flagvalue, const char *funcname, int opt) in check_flag() function
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/cvode/C_openmpdev/
H A DcvAdvDiff_kry_ompdev.c140 if(check_flag(&flag, "CVodeInit", 1)) return(1); in main()
170 if(check_flag(&flag, "CVode", 1)) break; in main()
173 check_flag(&flag, "CVodeGetNumSteps", 1); in main()
408 check_flag(&flag, "CVodeGetWorkSpace", 1); in PrintFinalStats()
410 check_flag(&flag, "CVodeGetNumSteps", 1); in PrintFinalStats()
412 check_flag(&flag, "CVodeGetNumRhsEvals", 1); in PrintFinalStats()
423 check_flag(&flag, "CVodeGetLinWorkSpace", 1); in PrintFinalStats()
425 check_flag(&flag, "CVodeGetNumLinIters", 1); in PrintFinalStats()
427 check_flag(&flag, "CVodeGetNumPrecEvals", 1); in PrintFinalStats()
429 check_flag(&flag, "CVodeGetNumPrecSolves", 1); in PrintFinalStats()
[all …]
/dports/math/sundials/sundials-5.7.0/examples/cvode/C_openmpdev/
H A DcvAdvDiff_kry_ompdev.c140 if(check_flag(&flag, "CVodeInit", 1)) return(1); in main()
170 if(check_flag(&flag, "CVode", 1)) break; in main()
173 check_flag(&flag, "CVodeGetNumSteps", 1); in main()
408 check_flag(&flag, "CVodeGetWorkSpace", 1); in PrintFinalStats()
410 check_flag(&flag, "CVodeGetNumSteps", 1); in PrintFinalStats()
412 check_flag(&flag, "CVodeGetNumRhsEvals", 1); in PrintFinalStats()
423 check_flag(&flag, "CVodeGetLinWorkSpace", 1); in PrintFinalStats()
425 check_flag(&flag, "CVodeGetNumLinIters", 1); in PrintFinalStats()
427 check_flag(&flag, "CVodeGetNumPrecEvals", 1); in PrintFinalStats()
429 check_flag(&flag, "CVodeGetNumPrecSolves", 1); in PrintFinalStats()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/C_openmp/
H A Dark_brusselator1D_omp.c138 if (check_flag((void *) udata, "malloc", 2)) return 1; in main()
231 if (check_flag(&flag, "ARKStepSetJacFn", 1)) return 1; in main()
263 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
294 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
296 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
298 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
300 check_flag(&flag, "ARKStepGetNumLinSolvSetups", 1); in main()
302 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
304 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
308 check_flag(&flag, "ARKStepGetNumJacEvals", 1); in main()
[all …]
/dports/math/sundials/sundials-5.7.0/examples/arkode/C_openmp/
H A Dark_brusselator1D_omp.c138 if (check_flag((void *) udata, "malloc", 2)) return 1; in main()
231 if (check_flag(&flag, "ARKStepSetJacFn", 1)) return 1; in main()
263 if (check_flag(&flag, "ARKStepEvolve", 1)) break; in main()
294 check_flag(&flag, "ARKStepGetNumSteps", 1); in main()
296 check_flag(&flag, "ARKStepGetNumStepAttempts", 1); in main()
298 check_flag(&flag, "ARKStepGetNumRhsEvals", 1); in main()
300 check_flag(&flag, "ARKStepGetNumLinSolvSetups", 1); in main()
302 check_flag(&flag, "ARKStepGetNumErrTestFails", 1); in main()
304 check_flag(&flag, "ARKStepGetNumNonlinSolvIters", 1); in main()
308 check_flag(&flag, "ARKStepGetNumJacEvals", 1); in main()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/kinsol/serial/
H A DkinLaplace_picard_bnd.c110 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
116 if (check_flag(&flag, "KINSetMAA", 1)) return(1); in main()
119 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
157 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
179 if (check_flag(&flag, "KINSol", 1)) return(1); in main()
189 if (check_flag(&flag, "KINGetfuncNorm", 1)) return(1); in main()
378 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
380 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
385 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
387 check_flag(&flag, "KINGetNumLinFuncEvals", 1); in PrintFinalStats()
[all …]
H A DkinFerTron_dns.c127 if (check_flag((void *)u, "N_VNew_Serial", 0)) return(1); in main()
130 if (check_flag((void *)s, "N_VNew_Serial", 0)) return(1); in main()
133 if (check_flag((void *)c, "N_VNew_Serial", 0)) return(1); in main()
151 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
154 if (check_flag(&flag, "KINSetUserData", 1)) return(1); in main()
163 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
287 if (check_flag(&flag, "KINSol", 1)) return(1); in SolveIt()
445 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
447 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
450 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
[all …]
H A DkinFerTron_klu.c129 if (check_flag((void *)u, "N_VNew_Serial", 0)) return(1); in main()
132 if (check_flag((void *)s, "N_VNew_Serial", 0)) return(1); in main()
135 if (check_flag((void *)c, "N_VNew_Serial", 0)) return(1); in main()
153 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
156 if (check_flag(&flag, "KINSetUserData", 1)) return(1); in main()
165 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
181 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
293 if (check_flag(&flag, "KINSol", 1)) return(1); in SolveIt()
517 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
519 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
[all …]
H A DkinRoboKin_dns.c79 if (check_flag((void *)y, "N_VNew_Serial", 0)) return(1); in main()
90 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
93 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
101 if (check_flag(&flag, "KINSetConstraints", 1)) return(1); in main()
105 if (check_flag(&flag, "KINSetFuncNormTol", 1)) return(1); in main()
125 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
149 if (check_flag(&flag, "KINSol", 1)) return(1); in main()
388 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
390 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
393 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
[all …]
/dports/math/sundials/sundials-5.7.0/examples/kinsol/serial/
H A DkinLaplace_picard_bnd.c120 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
126 if (check_flag(&flag, "KINSetMAA", 1)) return(1); in main()
129 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
167 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
189 if (check_flag(&flag, "KINSol", 1)) return(1); in main()
199 if (check_flag(&flag, "KINGetfuncNorm", 1)) return(1); in main()
388 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
390 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
395 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
397 check_flag(&flag, "KINGetNumLinFuncEvals", 1); in PrintFinalStats()
[all …]
H A DkinFerTron_dns.c137 if (check_flag((void *)u, "N_VNew_Serial", 0)) return(1); in main()
140 if (check_flag((void *)s, "N_VNew_Serial", 0)) return(1); in main()
143 if (check_flag((void *)c, "N_VNew_Serial", 0)) return(1); in main()
161 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
164 if (check_flag(&flag, "KINSetUserData", 1)) return(1); in main()
173 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
297 if (check_flag(&flag, "KINSol", 1)) return(1); in SolveIt()
455 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
457 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
460 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
[all …]
H A DkinFerTron_klu.c139 if (check_flag((void *)u, "N_VNew_Serial", 0)) return(1); in main()
142 if (check_flag((void *)s, "N_VNew_Serial", 0)) return(1); in main()
145 if (check_flag((void *)c, "N_VNew_Serial", 0)) return(1); in main()
163 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
166 if (check_flag(&flag, "KINSetUserData", 1)) return(1); in main()
175 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
191 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
303 if (check_flag(&flag, "KINSol", 1)) return(1); in SolveIt()
527 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
529 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
[all …]
H A DkinRoboKin_dns.c89 if (check_flag((void *)y, "N_VNew_Serial", 0)) return(1); in main()
100 if (check_flag((void *)kmem, "KINCreate", 0)) return(1); in main()
103 if (check_flag(&flag, "KINInit", 1)) return(1); in main()
111 if (check_flag(&flag, "KINSetConstraints", 1)) return(1); in main()
115 if (check_flag(&flag, "KINSetFuncNormTol", 1)) return(1); in main()
135 if (check_flag(&flag, "KINSetJacFn", 1)) return(1); in main()
159 if (check_flag(&flag, "KINSol", 1)) return(1); in main()
398 check_flag(&flag, "KINGetNumNonlinSolvIters", 1); in PrintFinalStats()
400 check_flag(&flag, "KINGetNumFuncEvals", 1); in PrintFinalStats()
403 check_flag(&flag, "KINGetNumJacEvals", 1); in PrintFinalStats()
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/boost_sync/test/run/
H A Dcondition_test_common.hpp21 struct check_flag struct
25 explicit check_flag(bool const& flag_) : flag(flag_) in check_flag() argument
29 check_flag(check_flag const& that) : flag(that.flag) in check_flag() function
38 BOOST_DELETED_FUNCTION(check_flag& operator=(check_flag const&))
64 cond_var.wait(lock,check_flag(flag)); in wait_with_predicate()
90 if(cond_var.timed_wait(lock,timeout,check_flag(flag)) && flag) in timed_wait_with_predicate()
98 … if(cond_var.timed_wait(lock,boost::posix_time::seconds(timeout_seconds),check_flag(flag)) && flag) in relative_timed_wait_with_predicate()
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/NovaDiskIO/sync/test/run/
H A Dcondition_test_common.hpp21 struct check_flag struct
25 explicit check_flag(bool const& flag_) : flag(flag_) in check_flag() argument
29 check_flag(check_flag const& that) : flag(that.flag) in check_flag() argument
38 BOOST_DELETED_FUNCTION(check_flag& operator=(check_flag const&))
64 cond_var.wait(lock,check_flag(flag)); in wait_with_predicate()
90 if(cond_var.timed_wait(lock,timeout,check_flag(flag)) && flag) in timed_wait_with_predicate()
98 … if(cond_var.timed_wait(lock,boost::posix_time::seconds(timeout_seconds),check_flag(flag)) && flag) in relative_timed_wait_with_predicate()
/dports/math/sundials/sundials-5.7.0/examples/arkode/CXX_xbraid/
H A Dark_heat2D_p_xbraid.cpp326 if (check_flag(&flag, "MPI_Init", 1)) return 1; in main()
329 if (check_flag(&flag, "MPI_Comm_rank", 1)) return 1; in main()
342 if (check_flag(&flag, "InitUserData", 1)) return 1; in main()
350 if (check_flag(&flag, "SetupDecomp", 1)) return 1; in main()
381 if (check_flag(&flag, "Solution", 1)) return 1; in main()
574 if (check_flag(&flag, "braid_SetSkip", 1)) return 1; in main()
650 if (check_flag(&flag, "braid_Drive", 1)) return 1; in main()
667 if (check_flag(&flag, "OutputStats", 1)) return 1; in main()
1105 if (check_flag(&flag, "PostRecv", 1)) return -1; in f()
1109 if (check_flag(&flag, "SendData", 1)) return -1; in f()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/test/unit_tests/arkode/
H A Dark_interp_check.c108 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
122 if (check_flag((void *)yerr, "N_VNew_Serial", 0)) return 1; in main()
136 if (check_flag((void *) A, "SUNDenseMatrix", 0)) return 1; in main()
208 if (check_flag(&flag, "ARKStepSetOrder", 1)) return 1; in main()
214 if (check_flag(&flag, "ARKStepEvolve", 1)) return 1; in main()
225 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
227 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
229 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
231 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
233 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
[all …]
/dports/math/sundials/sundials-5.7.0/test/unit_tests/arkode/C_serial/
H A Dark_interp_check.c108 if (check_flag((void *)y, "N_VNew_Serial", 0)) return 1; in main()
122 if (check_flag((void *)yerr, "N_VNew_Serial", 0)) return 1; in main()
136 if (check_flag((void *) A, "SUNDenseMatrix", 0)) return 1; in main()
208 if (check_flag(&flag, "ARKStepSetOrder", 1)) return 1; in main()
214 if (check_flag(&flag, "ARKStepEvolve", 1)) return 1; in main()
225 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
227 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
229 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
231 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
233 if (check_flag(&flag, "ARKStepGetDky", 1)) return 1; in main()
[all …]

12345678910>>...20