Modified DMNetworkDistribute function callPrevious function call to DMNetworkDistribute would take the DMobject as input and return a pointer to a new distributed DM.Now we pass the DM by refere
Modified DMNetworkDistribute function callPrevious function call to DMNetworkDistribute would take the DMobject as input and return a pointer to a new distributed DM.Now we pass the DM by reference, check for the number of processesand replace the DM object by a distributed version if necessary.This allows us to avoid the conditional call to the function.
show more ...
DMNetwork: Use the default sections with plex when getting offset.
DMNetwork: API to return the underlying DMPlex.
fortran: disable interfaces for functions with 'char' arguments. Now we get compile errors
The developer manual clearly states that MPI_Comm_size() returns size it doesn't returnnumProcs or other nonsense. Pretty soon you'll start using mype instead of rank?Using consistent names for va
The developer manual clearly states that MPI_Comm_size() returns size it doesn't returnnumProcs or other nonsense. Pretty soon you'll start using mype instead of rank?Using consistent names for variables makes code simpler to maintain
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
analyzer fixes
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and func
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and function prototypes are now provide through Fortran modules, not includes;only #define are provided in the petscXXXdef.h filesPETSc objects can be declared as either type(tXXX) or XXX. For example type(tVec) or VecMoved now private Fortran include files out of public include directory since uses don't use them;they are only used to generate the Fortran modulesEasier to support and test; we can now easily add more function prototypesAlso had to rework generation of manual pages to consistently use MANSEC and SUBMANSECsince these variables also handle how the Fortran modules are generated.Time: 57 hours
Merge remote-tracking branch 'origin/damalbel/dmnetwork_nest_indexing'
fix: bad merge a69d34a
Merge branch 'maint'
build: fix warnings
fixed petscmalloc issue
fixed memory leak
rm space
Merge branch 'damalbel/dmnetwork_nest_indexing' of bitbucket.org:petsc/petsc into damalbel/dmnetwork_nest_indexing
Fixed issues with complex and optimized build- substituted PetscRandomGetValue calls with PetscRandomGetValueReal- fixed bug in DMDestroy_Network
rm white space; suggest puting your stuff in MatCreateMatrix_Network() into a subroutine DMCreateMatrix_Network_Nest();
DMNetwork: add indexing for vertices and edges, add suport for MATNESTThis is a re-work of pull request 557.- d.o.f sections for vertices and edges are created with the routime DMNetworkAssembl
DMNetwork: add indexing for vertices and edges, add suport for MATNESTThis is a re-work of pull request 557.- d.o.f sections for vertices and edges are created with the routime DMNetworkAssembleGraphStructures.- DMNetwork can create a nested matrix using these structures. The user can access the submatrices with routines DMNetworkGetEdgeOffset, DMNetworkGetVertexOffset.- Additional tests have been included.
bugfix for complex build
optimization: replace many Malloc() of rows by a single Malloc1(localSize,&rows);
use PETSC_STATIC_INLINE for routines that compute blocks of DMMatrix
factor code blocks into MatSetPreallocationblock_private()
use user Jacobian blocks to preallocate nonzero structure
1...<<111213