CGNS: fix extern function declaration for clanguage=C++PetscViewerCreate_CGNS needs to be extern "C" to match the declarationin viewregall.c.
plex(cgns): Disallow writing already-written solutionThis avoids errors like:```26 TS dt 1e-06 time 2.6e-05 Min, Max CFL: 3.7707e-08, 0.10498 0 SNES Function norm 6.812037421856e-01 L
plex(cgns): Disallow writing already-written solutionThis avoids errors like:```26 TS dt 1e-06 time 2.6e-05 Min, Max CFL: 3.7707e-08, 0.10498 0 SNES Function norm 6.812037421856e-01 Linear solve converged due to CONVERGED_RTOL iterations 4 1 SNES Function norm 1.606574458672e-03 Linear solve did not converge due to DIVERGED_PC_FAILED iterations 0 PC failed due to FACTOR_NUMERIC_ZEROPIVOT Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE iterations 126 TS dt 1e-06 time 2.6e-05[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------[0]PETSC ERROR: Error in external library[0]PETSC ERROR: CGNS error 1 Duplicate child name found: FlowSolution26```where a solution was written on timestep 26, the next timestep failed,then `ts_monitor_solution` attempts to write the same solution to theCGNS file, but the CGNS library complains that a solution with the samename already exists.
show more ...
Merge branch 'release'
fix(cgns): Correct handling of unset IterationValues and TimeValues
ts: Add -ts_run_steps and -ts_monitor_solution_skip_initialCo-authored-by: Kenneth E. Jansen <kenneth.jansen@colorado.edu>Co-authored-by: Jed Brown <jed@jedbrown.org>Co-authored-by: Barry Smith <
ts: Add -ts_run_steps and -ts_monitor_solution_skip_initialCo-authored-by: Kenneth E. Jansen <kenneth.jansen@colorado.edu>Co-authored-by: Jed Brown <jed@jedbrown.org>Co-authored-by: Barry Smith <bsmith@mcs.anl.gov>
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
cgns: Add PetscViewerCGNSGetSolutionIteration()
cgns: CGNS_Find_Array returns whether array was foundRather than erroring out.
cgns: Write IterationValues array to file
Merge remote-tracking branch 'origin/release'
fix(cgns): Fix GetSolutionTimeAccessing the FlowSolutionPointers arrays requires a different indexthan the solution id
cgns: Add LogEventObjects to macros
cgns: Add log events for CGNS callsCo-authored-by: Jed Brown <jed@jedbrown.org>
cgnsv: Minor refactor
cgns viewer: Sanity check arguments
Minor fixes in manpages
Merge branch 'jrwrigh/cgns_parallel_io' into 'main'CGNS: Add parallel Plex building, VecLoad, and moreSee merge request petsc/petsc!7826
cgns: Add parallel Plex read, VecLoad, etc.- Parallel Plex building with `-dm_plex_cgns_parallel`- Parallel solution reading via `VecLoad()`- Added `PetscViewerCGNSOpen()`- Added `PetscViewerCGN
cgns: Add parallel Plex read, VecLoad, etc.- Parallel Plex building with `-dm_plex_cgns_parallel`- Parallel solution reading via `VecLoad()`- Added `PetscViewerCGNSOpen()`- Added `PetscViewerCGNSGetSolution{Time,Name}()`,`PetscViewerCGNSSetSolutionIndex()`
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in the CI
minor fixes
checkbadSource: rules for PetscFunctionBegin and derivatives
LIBBASE is no longer used in make so remove it
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
12