History log of /petsc/src/ts/impls/explicit/rk/rk.c (Results 376 – 400 of 507)
Revision Date Author Comments
# 785e854f 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'

This commit contains an additional bug-fix in csrperm.c, fixing pointer
arity. The code was introduced in 2006, but the allocation could not
have been correct at any time. This probably means that
MatDuplicate_SeqAIJPERM has never been tested.

a54129beb540034ba105796c682d589e7e1111f2
Richard Tran Mills <rmills@ornl.gov>

Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from
MATSEQAIJ. Note that these changes are not quite debugged.

show more ...


# dcca6d9d 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc2\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc2($1,$3,$4,$6)@;
s@PetscMalloc3\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc3($1,$3,$4,$6,$7,$9)@;
s@PetscMalloc4\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc4($1,$3,$4,$6,$7,$9,$10,$12)@;
s@PetscMalloc5\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc5($1,$3,$4,$6,$7,$9,$10,$12,$13,$15)@;
s@PetscMalloc6\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc6($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18)@;
s@PetscMalloc7\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc7($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18,$19,$21)@;
'

show more ...


# cd4f0679 18-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fi

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fix for TSGetRHSMats_Private() in the creation of the Arhs and Brhs matrices
protect logging of objects (which uses global variables) with PETSC_USE_LOG
error handler API had been previously changed but this example was not updated to new API.
DMPlex: Fixed bug in coordinate permutation
PetscSection: Doc fix for permutation
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bugfix of MatCreateSeqAIJFromTriple() contributed by Nicolas Marsic <nicolas.marsic@montefiore.ulg.ac.be>
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
completed removing server code that was not removed in previous commit
removed PETSc webserver and configure package files that supported it
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
fix outdated PetscOptionsList
SNESQN: only monitor real part of dot product (fails with C++ complex)
Fix for multiple definitions in mat/color/interface/ custom fortran bindings
...

Conflicts:
config/builder.py
include/petscdmplex.h
src/dm/impls/da/dageometry.c
src/dm/impls/plex/examples/tests/ex4.c
src/dm/impls/plex/plex.c
src/dm/impls/plex/plexinterpolate.c

show more ...


# c4fbd833 08-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
SNESQN: only monitor real part of dot product (fails with C++ complex)
Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines.
DMPlex: Added doc for DMPlexGetHybridBounds()
winzip: detect if winzip is used to extract petsc.tar.gz and error out.
configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused]
configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build?
configure: remove dead code previously used to download BuildSystem
configure: check if compilerDefines [and compilerFixes] exist in framework before using them
configure: save/restore reconfigure.py when --with-clean is used
configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH
configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH
Add MatSeqSBAIJSetPreallocationCSR()
configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider
configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir
...

show more ...


# 7737a228 31-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/saws

Conflicts:
src/ksp/pc/impls/gamg/gamg.c
src/sys/classes/viewer/impls/ams/ams.c
src/sys/objects/pinit.c


# fdfb66d9 21-Oct-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'emil/ts-poststage'

* emil/ts-poststage:
Added a post-stage function for time-integrators


# a8a0fb17 20-Oct-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'emil/ts-rk-rehab'

Renovate explicit Runge-Kutta methods to use TSAdapt and support easy
registration of additional schemes.

* emil/ts-rk-rehab:
TSRK: remove TSRKSetTolerance because

Merge branch 'emil/ts-rk-rehab'

Renovate explicit Runge-Kutta methods to use TSAdapt and support easy
registration of additional schemes.

* emil/ts-rk-rehab:
TSRK: remove TSRKSetTolerance because we now use TSAdapt
Updated the documentation for using RK schemes with variable timesteps
Changed the default RK type to be RK3BS (Bogacki-Shampine) which has an embedded method
minor edits in rk and adding petsc math types in ex31
Added comments documenting the Dormand-Prince and Bogacki-Shampine RK methods...
Added a Boolean variable to indicate of method is FSAL
Added Dormand-Prince and Bogacki-Shampine RK schemes...
Implemented the renovated RK. The first 6 commits are squashed and the text is preserved below.

show more ...


# 9be3e283 06-Aug-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

Added a post-stage function for time-integrators


# 484bcdc7 18-Oct-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

Changed the default RK type to be RK3BS (Bogacki-Shampine) which has an embedded method


# 77b4d14c 07-Oct-2013 Peter Brune <brune@mcs.anl.gov>

Wrapped math.h and quadmath.h functions used in petsc source exempting examples


# 256ff83f 11-Sep-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/wirth-fusion-materials

Conflicts:
src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c


# 2e698f8b 18-Jun-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

minor edits in rk and adding petsc math types in ex31


# 2109b73f 11-Jun-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

Added comments documenting the Dormand-Prince and Bogacki-Shampine RK methods...


# d760c35b 11-Jun-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

Added a Boolean variable to indicate of method is FSAL


# fdefd5e5 11-Jun-2013 Debojyoti Ghosh <ghosh@mcs.anl.gov>

Added Dormand-Prince and Bogacki-Shampine RK schemes...


# f68a32c8 24-May-2013 Emil Constantinescu <emconsta@mcs.anl.gov>

Implemented the renovated RK.
The first 6 commits are squashed and the text is preserved below.

modified the comment in rk.c

Copied arkimex.c to rk.c... will now start removing the implicit parts..

Implemented the renovated RK.
The first 6 commits are squashed and the text is preserved below.

modified the comment in rk.c

Copied arkimex.c to rk.c... will now start removing the implicit parts..

Renamed all ARKIMEX to RK in the variables... edited the structures representing the RK scheme...

Rough cut: removed all implicit stuff from ARKIMEX to get RK... have registered forward Euler, RK2 and RK3...

TSRK is *sort of* running... with probably some issues that need to be ironed out...

Added two more RK methods of orders 4 and 5, verified the rates of convergence for all the RK methods implemented...

show more ...


# 7e7d4f0d 10-Apr-2013 Richard Mills <rtm@eecs.utk.edu>

Merged petsc/petsc into rmills/petsc master


# 8a1af44d 03-Apr-2013 Jed Brown <jed@59A2.org>

Merge branch 'barry/rm-xxxregisterdynamic'

* barry/rm-xxxregisterdynamic:
Registration: remove stale 'XXRegisterDynamic)' entries in man pages
TS examples: fix use of PetscFunctionList and add t

Merge branch 'barry/rm-xxxregisterdynamic'

* barry/rm-xxxregisterdynamic:
Registration: remove stale 'XXRegisterDynamic)' entries in man pages
TS examples: fix use of PetscFunctionList and add to nightlies
Changes: Note updates to XRegisterDynamic/PetscObjectComposeFunctionDynamic
PetscObjectComposeFunctionDynamic: remove stale docs and usage
developers.tex: remove complications from function composition with dlls
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
changes: document PetscFunctionListAdd() API change
developers.tex: update documentation of PetscObjectComposeFunction
removed path and MPI_Comm arguments from PetscFunctionListFind/Add()
removed path argument to XXXInitializePackage() and XXXRegister()
removed XXXRegisterDynamic() but kept the APIs for everything else underneath the same phase I of the update to handling registering function pointers

show more ...


# e1d27e54 28-Mar-2013 Jed Brown <jed@59A2.org>

Merge branch 'barry/rm-xxxregisterdynamic' into jed/ts-eimex

PetscObjectComposeFunctionDynamic() and TSRegisterDynamic() were
replaced by PetscObjectComposeFunction() and TSRegister(), both of which

Merge branch 'barry/rm-xxxregisterdynamic' into jed/ts-eimex

PetscObjectComposeFunctionDynamic() and TSRegisterDynamic() were
replaced by PetscObjectComposeFunction() and TSRegister(), both of which
drop the string name argument.

* barry/rm-xxxregisterdynamic: (82 commits)
...

Conflicts:
src/ts/interface/tsregall.c

show more ...


# bdf89e91 26-Mar-2013 Barry Smith <bsmith@mcs.anl.gov>

removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()


# 4042b796 17-Mar-2013 Jed Brown <jed@59A2.org>

Merge branch 'master' into jed/ts-eimex

Sync to include Git conversion, PETSC_EXTERN, and minor API changes.

Conflicts:
src/ts/interface/tsregall.c


# c19eab39 06-Mar-2013 Richard Tran Mills <rmills@ornl.gov>

Automerge.

Hg-commit: b6659d546870fb013f3da5bcd5066d1dc0dc329c


# 296840b1 06-Mar-2013 Jed Brown <jed@59A2.org>

Merge branch 'master' of gitifyhg::ssh://hg@bitbucket.org/BarryFSmith/petsc-dev-simp

Symbol visibility and namespacing.

C++ builds always set extern "C" and can be called from plain C. Most
users w

Merge branch 'master' of gitifyhg::ssh://hg@bitbucket.org/BarryFSmith/petsc-dev-simp

Symbol visibility and namespacing.

C++ builds always set extern "C" and can be called from plain C. Most
users will only want --with-clanguage=C++ for std::complex.


Hg-commit: f848d02318cae92d7b32037c7ee88f92dbe46347

show more ...


# 8cc058d9 06-Mar-2013 Jed Brown <jed@59A2.org>

Change all PETSC_EXTERN_C to PETSC_EXTERN

Hg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426


# 39d7646b 06-Mar-2013 Jed Brown <jed@59A2.org>

Change all PETSC_EXTERN_C to PETSC_EXTERN


Hg-commit: ba0cf153561ff2dc521f42e94b7164fbe7b5d798


1...<<1112131415161718192021