-
- Downloads
Redesign of automatic basis, communicator and DOFVector updates
Major changes: Add wrapper class AdaptiveGrid<Grid> to be used instead of a dune-grid within AMDiS. This provides most of the grid interface and supports automatic updates of bases. Change: MeshCreator now returns an AdaptiveGrid Change: ProblemStat uses AdaptiveGrid internally and returns an object of that type Add class ParallelGlobalBasis<Basis> as a replacement for a dune-functions basis. This implements the complete interface and can be used as a replacement for a regular basis in all contexts. It supports automatic updates. Add free function makeGlobalBasis to make a ParallelGlobalBasis Change: AMDiS basis creators now return a ParallelGlobalBasis Change: ProblemStat uses ParallelGlobalBasis internally and returns an object of that type Add classes Observer/Signals. Classes can derive from those to take part in the automatic update feature. Add update(Event const& e) methods to classes using the feature above. They implement the action to be done when the registered Event is triggered. Remove GridTransfer[-Manager] and replace with the new Observer/Signals implementation Change: linear algebra communicator is now a part of ParallelGlobalBasis Add wrapper for DataTransfer objects that can be used instead of a base class pointer and performs deep-copy operations on copy construction and assignment Change: DOFVector DataTransfer member is now stored using the new wrapper class DataTransferWrapper Change: preAdapt, adapt, postAdapt callbacks are now called after calling the respective grid function. Classes that previously used any of them had their methods changed accordingly. Minor changes: Remove Comm argument for ctor of [Bi-]LinearForm, DOFVector Change ctor argument from Comm to Basis in linearalgebra/<impl>/[Matrix-, Vector-]Backend.hpp Simplify DOFVector copy/move by defaulting Remove DOFVector::resize override Remove DOFVectorInterface.hpp Change: linearalgebra/Traits.hpp includes the backend-specific Traits file. This is required to break an include loop. Add global 'solver category' initfile parameter used by the ISTL backend communicator when no parameter at prefix + '->category' is found Fix commented out parts in DOFVectorTest, DiscreteFunctionTest Add unit test for Observer functionality Add helper function wrap_or_share (see amdis/common/SharedPtr.hpp) Fix backend = ISTL check for ISTLCommTest in CMakeLists
Showing
- examples/periodic.cc 1 addition, 1 deletionexamples/periodic.cc
- src/amdis/AdaptiveGrid.hpp 307 additions, 0 deletionssrc/amdis/AdaptiveGrid.hpp
- src/amdis/BiLinearForm.hpp 9 additions, 10 deletionssrc/amdis/BiLinearForm.hpp
- src/amdis/CMakeLists.txt 2 additions, 3 deletionssrc/amdis/CMakeLists.txt
- src/amdis/DOFVector.hpp 67 additions, 116 deletionssrc/amdis/DOFVector.hpp
- src/amdis/DOFVectorInterface.hpp 0 additions, 28 deletionssrc/amdis/DOFVectorInterface.hpp
- src/amdis/DataTransfer.hpp 77 additions, 6 deletionssrc/amdis/DataTransfer.hpp
- src/amdis/DataTransfer.inc.hpp 18 additions, 10 deletionssrc/amdis/DataTransfer.inc.hpp
- src/amdis/GridTransfer.hpp 0 additions, 203 deletionssrc/amdis/GridTransfer.hpp
- src/amdis/GridTransferManager.hpp 0 additions, 106 deletionssrc/amdis/GridTransferManager.hpp
- src/amdis/LinearForm.hpp 12 additions, 13 deletionssrc/amdis/LinearForm.hpp
- src/amdis/MeshCreator.hpp 8 additions, 6 deletionssrc/amdis/MeshCreator.hpp
- src/amdis/Observer.hpp 232 additions, 0 deletionssrc/amdis/Observer.hpp
- src/amdis/ProblemStat.hpp 31 additions, 27 deletionssrc/amdis/ProblemStat.hpp
- src/amdis/ProblemStat.inc.hpp 38 additions, 46 deletionssrc/amdis/ProblemStat.inc.hpp
- src/amdis/ProblemStatTraits.hpp 9 additions, 3 deletionssrc/amdis/ProblemStatTraits.hpp
- src/amdis/common/CMakeLists.txt 2 additions, 1 deletionsrc/amdis/common/CMakeLists.txt
- src/amdis/common/SharedPtr.hpp 62 additions, 0 deletionssrc/amdis/common/SharedPtr.hpp
- src/amdis/functions/CMakeLists.txt 1 addition, 0 deletionssrc/amdis/functions/CMakeLists.txt
- src/amdis/functions/ParallelGlobalBasis.hpp 293 additions, 0 deletionssrc/amdis/functions/ParallelGlobalBasis.hpp
Loading
Please register or sign in to comment