History log of /petsc/src/dm/impls/da/da2.c (Results 226 – 250 of 379)
Revision Date Author Comments
# bf5b0b0b 25-Feb-2014 Vijay Mahadevan <vijay.m@gmail.com>

Merged petsc/petsc into master


# 020631bc 19-Feb-2014 Peter Brune <brune@mcs.anl.gov>

Merge branch 'master' into prbrune/snes-fascontinuation

Conflicts:
include/petscsnesfas.h


# 1f1b5a69 15-Feb-2014 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/ts-rhsjacobian-only


# 6d808a57 13-Feb-2014 Shri Abhyankar <abhyshr@mcs.anl.gov>

Merge branch 'shri/update-SuiteSparse' into shri/external-package-KLU

Conflicts:
conf/test
config/examples/arch-linux-pkgs-dbg-ftn-interfaces.py
config/examples/arch-linux-pkgs-opt.py


# bab9b9ec 07-Feb-2014 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into balay/tao-to-petsc

Conflicts:
src/dm/examples/tests/ex42.c
src/dm/examples/tutorials/ex65dm.c
src/ksp/ksp/examples/tutorials/ex42.c
src/snes/examples/tutorials/cahn-hi

Merge branch 'master' into balay/tao-to-petsc

Conflicts:
src/dm/examples/tests/ex42.c
src/dm/examples/tutorials/ex65dm.c
src/ksp/ksp/examples/tutorials/ex42.c
src/snes/examples/tutorials/cahn-hilliard-schemes/ex1.c
src/snes/examples/tutorials/ex54.c
src/snes/examples/tutorials/ex55.c
src/snes/examples/tutorials/ex60.c
src/snes/examples/tutorials/ex61.c
src/snes/examples/tutorials/ex63.c
src/snes/examples/tutorials/ex633d_db.c
src/snes/examples/tutorials/ex64.c
src/snes/examples/tutorials/ex65.c
src/snes/examples/tutorials/ex653d.c
src/ts/examples/tutorials/ex23.c

show more ...


# fbf5b483 03-Feb-2014 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'knepley/feature-periodic-mesh'

* knepley/feature-periodic-mesh:
Matt moved DMDA_BOUNDARY.. to DM_BOUNDARY... but did not fix ex2f.F includes
DM Fortran examples: fix petscdm.h -> f

Merge branch 'knepley/feature-periodic-mesh'

* knepley/feature-periodic-mesh:
Matt moved DMDA_BOUNDARY.. to DM_BOUNDARY... but did not fix ex2f.F includes
DM Fortran examples: fix petscdm.h -> finclude/petscdm.h
DMPlex: Fixed markers on periodic boundary
DM examples: include petscdm.h in examples that use DM_BOUNDARY_*
DMBoundary: fix line length for Fortran
DMPlex: Now DMPlexCreateHexBox() can have a Mobius topology using DM_BOUNDARY_TWIST
DM: Moved DMDABoundaryTypes to DMBoundaryTypes - Changed the enum values as well - Changed docs and updated Changes - Updated examples
DMPlex: DMPlexCreateHexBoxMesh() now allows periodicity - Changed declaration and uses - DMPlexCreateSquareMesh() now allows periodicity - Works with refinement

Conflicts:
src/dm/impls/plex/plexcreate.c
src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c

show more ...


# c7ff62de 13-Jan-2014 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/wirth-fusion-materials
bad manual merge needs to be fixed
this is what happens when branches hang around too long

Conflicts:
src/ts/examples/tutorials/advection-dif

Merge branch 'master' into barry/wirth-fusion-materials
bad manual merge needs to be fixed
this is what happens when branches hang around too long

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

show more ...


# bff4a2f0 09-Jan-2014 Matthew G. Knepley <knepley@gmail.com>

DM: Moved DMDABoundaryTypes to DMBoundaryTypes
- Changed the enum values as well
- Changed docs and updated Changes
- Updated examples


# ed91c37e 19-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

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

* master: (319 commits)
SNESGS: Fix for uninitialized variable warning in gssecant.c
DMPlex: Fix for orientation in Gmsh files - Fixed tes

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

* master: (319 commits)
SNESGS: Fix for uninitialized variable warning in gssecant.c
DMPlex: Fix for orientation in Gmsh files - Fixed test output
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dashboard.
ASCII printing of floating point numbers must cast to (double) to support quad precision
configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0]
don't use non-portable and also dependent on floating point precision system level math constants
picky compilers
fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()
Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs
replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems
DMDA: Missing header - Damn rebase
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
DMDA: Make closure operations also return the size
DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection()
...

Conflicts:
config/builder.py
include/petscdmda.h
src/dm/dt/interface/dtfe.c
src/dm/impls/da/dageometry.c
src/dm/impls/da/dalocal.c
src/dm/impls/plex/plexgeometry.c

show more ...


# 0d414b50 17-Dec-2013 Vijay Mahadevan <vijay.m@gmail.com>

Merged petsc/petsc into master


# 9c5a1e1b 17-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-gmsh

* master: (163 commits)
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dash

Merge branch 'master' into knepley/feature-plex-gmsh

* master: (163 commits)
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dashboard.
ASCII printing of floating point numbers must cast to (double) to support quad precision
configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0]
don't use non-portable and also dependent on floating point precision system level math constants
picky compilers
fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()
Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs
replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems
DMDA: Missing header - Damn rebase
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
DMDA: Make closure operations also return the size
DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection()
DMDA: Added functions which emulate DMPlex functionality
DMDA: Now DMDAGetNumCells() returns the cells in each direction as well
...

Conflicts:
config/builder.py

show more ...


# 324c91e4 17-Dec-2013 Peter Brune <brune@mcs.anl.gov>

Merge branch 'madams/gamg-destroy' into prbrune/pcgamg-classicalinterpolationstrategies


# 578f55a3 17-Dec-2013 Peter Brune <brune@mcs.anl.gov>

Merge branch 'master' into madams/gamg-destroy

Conflicts:
src/ksp/pc/impls/gamg/gamg.c


# 3d7bc6b7 15-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-refine-hex

* master: (68 commits)
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()

Merge branch 'master' into knepley/feature-plex-refine-hex

* master: (68 commits)
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()
Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs
DMDA: Missing header - Damn rebase
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
DMDA: Make closure operations also return the size
DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection()
DMDA: Added functions which emulate DMPlex functionality
DMDA: Now DMDAGetNumCells() returns the cells in each direction as well
PetscFE: Added support for tensor product cells in PetscDualSpace_Lagrange
PetscFE: Added tensor product polynomial spaces
example fix /sandbox/petsc/petsc.clone-3/include/petscmath.h(260): error: identifier "PETSC_CXX_STATIC_INLINE" is undefined PETSC_STATIC_INLINE PetscReal PetscAbsScalar(PetscScalar a) {return a < 0.0 ? -a : a;} ^
remove warning in fun3d example "user.F", line 1256: warning: In-place macro substitution leaves line truncated "user.F", line 1259: warning: In-place macro substitution leaves line truncated "user.F", line 1262: warning: In-place macro substitution leaves line truncated
/Users/petsc/petsc.clone-2/src/ksp/ksp/examples/tutorials/ex56.c:59: warning: comparison between signed and unsigned integer expressions
fix examples for portability
fixed to example outputs
fix output for a few examples changed due to changes to -mat_view and not using -snes_monitor_short
...

Conflicts:
src/dm/impls/plex/plexrefine.c

show more ...


# 9bfdf3ca 11-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/update-xxxviewfromoptions'


# 11d40c88 11-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/reduce-dmsetup-da-memoryusage'


# 8c722d37 10-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/reduce-dmsetup-da-memoryusage

Conflicts:
src/dm/examples/tests/ex15.c
src/dm/examples/tutorials/ex3.c
src/dm/impls/da/da2.c
src/dm/impls/da/da3.c


# a906b49b 10-Dec-2013 BarryFSmith <bsmith@mcs.anl.gov>

Merged master into barry/update-xxxviewfromoptions


# edbbd480 10-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/xcode


# e0133700 05-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/saws-push-header-body' into barry/saws-options


# fb3f26da 04-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (zeroed) memory.

* jed/malloc-array:
Sys: Add pointer casts from (void **) in calls to PetscMalloc1()
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
Sys: add PetscCalloc[1-7]
Sys: add PetscMalloc1 macro, array allocation without redundant types
PetscMalloc[2-7]: remove type arguments, infer from pointer type
SNESComputeJacobianDefaultColor: fix uninitialized variable

show more ...


# 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 ...


# b96b3b36 26-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

completed placement of XXXViewFromOptions()


# 8ea3bf28 21-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

removed idx and Nl from DM_DA object since the dm->ltogmap has the same information

this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA
Needed to add DMDARestore

removed idx and Nl from DM_DA object since the dm->ltogmap has the same information

this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA
Needed to add DMDARestoreGlobalIndices() to properly allow access to dm->logmap with DMDAGetGlobalIndices().
Though users could use DMGetGlobalToLocalMapping() followed by ISLocalGetGlobalMappingGetIndices() I have retained
DMDAGetGlobalIndices() to the code refactorization is less dramatic; the code could be changed later to eliminate
DMDAGetGlobalIndices()

show more ...


12345678910>>...16