| /petsc/src/ts/tutorials/ |
| H A D | ex8.c | 285 Problem problem; member 295 if (!mon->problem->solution) PetscFunctionReturn(PETSC_SUCCESS); in MonitorError() 296 PetscCall((*mon->problem->solution)(t, mon->x, mon->problem->data)); in MonitorError() 314 Problem problem; in main() local 349 PetscCall(PetscNew(&problem)); in main() 350 problem->comm = MPI_COMM_WORLD; in main() 356 PetscCall((*pcreate)(problem)); in main() 363 PetscCall(MatSetSizes(A, problem->n, problem->n, PETSC_DETERMINE, PETSC_DETERMINE)); in main() 371 mon.problem = problem; in main() 380 PetscCall(TSSetIFunction(ts, NULL, problem->function, problem->data)); in main() [all …]
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | rosenbrock4.h | 27 Rosenbrock problem; member 100 user->problem.alpha = 99.0; in AppCtxCreate() 101 user->problem.bs = 2; // bs = 2 is block Rosenbrock, bs = n is chained Rosenbrock in AppCtxCreate() 106 …Int("-bs", "Rosenbrock block size (2 <= bs <= n)", NULL, user->problem.bs, &user->problem.bs, NULL… in AppCtxCreate() 107 …("-alpha", "Rosenbrock off-diagonal coefficient", NULL, user->problem.alpha, &user->problem.alpha,… in AppCtxCreate() 110 …PetscCheck(user->problem.bs >= 1, comm, PETSC_ERR_ARG_INCOMP, "Block size %" PetscInt_FMT " is not… in AppCtxCreate() 111 …% user->problem.bs) == 0, comm, PETSC_ERR_ARG_INCOMP, "Block size %" PetscInt_FMT " does not divid… in AppCtxCreate() 145 PetscInt bs = user->problem.bs; in CreateHessian() 155 user->problem.i_start = i_start; in CreateHessian() 156 user->problem.i_end = i_end; in CreateHessian() [all …]
|
| /petsc/src/tao/leastsquares/tutorials/matlab/ |
| H A D | ProblemFinalize.m | 16 Results{SolverNumber,np}.problem = ['problem ' num2str(np) ' from More/Wild']; 49 Results{SolverNumber,np}.problem = ['problem ' num2str(np) ' from More/Wild'];
|
| H A D | ProblemInitialize.m | 3 % The taopounders driver sets np, the problem instance number 6 nprob = dfo(np,1); % Internal index for the problem 30 % Control returns to taopounders interface to solve the problem
|
| H A D | TestingInitialize.m | 4 % Make the test problem accessible to the MATLAB session and load the data matrix
|
| /petsc/src/snes/tests/ |
| H A D | ex68.c | 130 PetscInt problem = 1, N = 10; in main() local 135 PetscCall(PetscOptionsGetInt(NULL, NULL, "-problem", &problem, NULL)); in main() 148 switch (problem) { in main() 156 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "Invalid problem number %" PetscInt_FMT, problem); in main() 167 switch (problem) { in main() 175 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "Invalid problem number %" PetscInt_FMT, problem); in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex35.cxx | 94 PetscInt dim, n, problem, nlevels; member 224 switch (user->problem) { in ComputeDiffusionCoefficient() 240 switch (user->problem) { in ExactSolution() 246 …_OUTOFRANGE, "Exact solution for -problem = [%" PetscInt_FMT "] is not available.", user->problem); in ExactSolution() 252 switch (user->problem) { in ComputeForcingFunction() 268 switch (user->problem) { in EvaluateStrongDirichletCondition() 564 user->problem = 1; in InitializeOptions() 580 …oblem being solved (controls forcing function)", "ex35.cxx", user->problem, &user->problem, NULL)); in InitializeOptions() 597 if (user->problem < 1 || user->problem > 3) user->problem = 1; in InitializeOptions() 600 if (user->problem == 3) { in InitializeOptions()
|
| H A D | ex36.cxx | 77 PetscInt problem, dim, n, nlevels; member 211 if (user->problem == 2) { in ComputeDiffusionCoefficient() 219 if (user->problem == 2) { in ComputeReactionCoefficient() 227 if (user->problem == 2) { in ExactSolution() 244 if (user->problem == 2) { in ForcingFunction() 519 user->problem = 1; in InitializeOptions() 536 …oblem being solved (controls forcing function)", "ex36.cxx", user->problem, &user->problem, NULL)); in InitializeOptions() 555 if (user->problem < 1 || user->problem > 2) user->problem = 1; in InitializeOptions()
|
| /petsc/share/petsc/datafiles/matrices/ |
| H A D | LFAT5.mtx | 13 % kind: model reduction problem 16 % Primary matrix in this model reduction problem is the Oberwolfach K matrix
|
| /petsc/src/sys/yaml/src/ |
| H A D | loader.c | 16 const char *problem, yaml_mark_t problem_mark); 21 const char *problem, yaml_mark_t problem_mark); 135 const char *problem, yaml_mark_t problem_mark) in yaml_parser_set_composer_error() argument 138 parser->problem = problem; in yaml_parser_set_composer_error() 151 const char *problem, yaml_mark_t problem_mark) in yaml_parser_set_composer_error_context() argument 156 parser->problem = problem; in yaml_parser_set_composer_error_context()
|
| H A D | reader.c | 9 yaml_parser_set_reader_error(yaml_parser_t *parser, const char *problem, 26 yaml_parser_set_reader_error(yaml_parser_t *parser, const char *problem, in yaml_parser_set_reader_error() argument 30 parser->problem = problem; in yaml_parser_set_reader_error()
|
| H A D | parser.c | 76 const char *problem, yaml_mark_t problem_mark); 81 const char *problem, yaml_mark_t problem_mark); 197 const char *problem, yaml_mark_t problem_mark) in yaml_parser_set_parser_error() argument 200 parser->problem = problem; in yaml_parser_set_parser_error() 209 const char *problem, yaml_mark_t problem_mark) in yaml_parser_set_parser_error_context() argument 214 parser->problem = problem; in yaml_parser_set_parser_error_context()
|
| /petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/ |
| H A D | perf_profile.m | 21 % H(f,p,s) = function value # f for problem p and solver s. 37 prob_min = min(min(H),[],3); % The global minimum for each problem 38 prob_max = H(1,:,1); % The starting value for each problem 40 % For each problem and solver, determine the number of evaluations
|
| H A D | dfoxs.m | 22 % starting point for problem nprob multiplied by factor. 25 % number of the problem. nprob must not exceed 22.
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex3_stringview_euler.out | 1 Solving a linear TS problem on 1 processor
|
| H A D | ex3_stringview.out | 1 Solving a linear TS problem on 1 processor
|
| H A D | ex6_1.out | 1 Solving a linear TS problem on 1 processor
|
| H A D | ex4_sundials.out | 1 Solving a linear TS problem, number of processors = 4
|
| H A D | ex4_sundials_dense.out | 1 Solving a linear TS problem, number of processors = 1
|
| /petsc/doc/manual/ |
| H A D | fe.md | 11 ## Describing a particular finite element problem to PETSc 13 …problem is presented to PETSc in a series of steps. This is both to facilitate automation, and to … 43 …EHOLDER/src/snes/tutorials/ex13.c.html">SNES Tutorial ex13</a>, we define the Poisson problem using 97 …ts of the mesh using labels and label values. We can reproduce the above problem using the *SetInd… 107 …</a>, we define the Poisson problem over the entire domain, but in the top half we also define a p…
|
| H A D | regressor.md | 32 optimization problem (often using `TAO` solvers) to determine the model parameters, whereas making … 38 regression problem, with various options for regularization. 87 various solver or problem parameters. 152 …onstrained regularized Gauss-Newton `TAOBRGN` is used to solve the underlying optimization problem. 176 If one wishes, the user can (when appropriate) use `KSP` to solve the problem, instead of `Tao`,
|
| /petsc/src/tao/leastsquares/tutorials/matlab/output/ |
| H A D | matlab_ls_test.out | 1 Running problem 5
|
| /petsc/doc/community/ |
| H A D | mailing.md | 29 whether a fix or work-around to the problem already exists. Also, see the chapter on 43 the problem. We suggest providing the following information: 57 - Detailed steps to recreate the problem if possible. 62 - If the problem involves installation, send the entire `configure.log` and
|
| H A D | roadmap.md | 7 - Continue implementing advanced algorithms to provide state-of-the-art problem-solving infrastruct…
|
| /petsc/lib/petsc/bin/ |
| H A D | petsc_tas_analysis.py | 472 elif cmdLineArgs.problem != 'NULL': 474 Field(file.fileName, config.fieldNames[cmdLineArgs.problem]['field '+str(f)])) 478 …sys.exit('The problem you specified on the command line: ' + cmdLineArgs.problem + ' \ncould not b… 540 if cmdLineArgs.problem != 'NULL': 542 Field(file.fileName, config.fieldNames[cmdLineArgs.problem]['field '+str(f)])) 546 …sys.exit('The problem you specified on the command line: ' + cmdLineArgs.problem + ' \ncould not b…
|