| 413a66b3 | 28-Sep-2014 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/feature-fe-fv-hybrid'
* knepley/feature-fe-fv-hybrid: (43 commits) PetscFE: Small fixes Plex+SNES: Volumes are PetscReal Plex+SNES: Missing declaration TS ex11: Remove
Merge branch 'knepley/feature-fe-fv-hybrid'
* knepley/feature-fe-fv-hybrid: (43 commits) PetscFE: Small fixes Plex+SNES: Volumes are PetscReal Plex+SNES: Missing declaration TS ex11: Remove unused var Plex+SNES+TS: Complete reorganization of residual evaluation - Now both FE and FV examples use the same method, but there are a bunch of switches which should be eliminated - There is a confusion about IFunction and RHS, but I think they can both be in one function - Added DMPlexSNESGetGeometryFVM() and DMPlexSNESGetGradientFVM() - Added DMPlexGet/RestoreCellFields() and DMPlexGet/RestoreFaceFields() and DMPlexGet/RestoreFaceGeometry() - I think that FV geometry caching needs to be redone - Added DMPlexReconstructGradients_Internal() - Added DMPlexComputeBdResidual_Internal() which does not work for FV - Replaced DMPlexComputeResidualFEM_Internal() with DMPlexComputeResidual_Internal() Plex: Added DMPlexInsertBoundaryValues() - Unified FE and FV boundary values Plex: DMPlexProjectFunctionLableLocal() gets discretizations from the DM now Plex: Added DMPlexComputeGradientFVM() PetscDS: Fix up some functions to work for both FV and FE PetscFV: Change PetscFVIntegrateRHSFunction() to get info from PetscDS TS ex11: There is only one field in our current paradigm - We would need to split Riemann solvers for multiple fields right now Plex+TS: Remove use of computeGradients in favor of check for dmGrad TS ex11: Updated interface calls Plex+TS: Change DMPlexTSGetGradientDM() to automatically construct the gradient info, DMPlexTSSetRHSFunctionLocal() can now be replaced by the DMTS version - Remove unnecessary declarations Plex+SNES: Add missing declaration Plex+FE: Removed all use of PetscCellGeometry, Changed FE integration to use PetscFECellGeom DMSNES+Plex: Added DMPlexSNESGetGeometryFEM() to cache geometry PetscDualSpace: Remove use of PetscCellGeometry in PetscDualSpaceApply() - Fixed up calls to it for projection into spaces DMDA: Remove use of PetscCellGeometry in DMDAProjectFunctionLocal() Plex: Added DMPlexComputeGeometryFEM() and PetscFECellGeom structure ...
show more ...
|