[properties] Add macros and use new property system
* Adjust old macro test to only use existing macros * Depracate the header containing the macros (they should be replaced soon) Clues when changing to new property system * NEW_PROP_TAG is now a definition and can only be there once just like NEW_TYPE_TAG - if you're not using macros you can simply use forward declarations of properties whereever needed - for the most properties in dumux the definition is in the header common/properties.hh which can just be included * The order of precedence in INHERITS_FROM is reverse than in the previous implementation - if the macro is used the order is flipped - if you replace the macro you also have to flip the order manually
parent
4a62d46e
No related branches found
No related tags found
Showing
- dumux/common/properties.hh 1 addition, 0 deletionsdumux/common/properties.hh
- dumux/common/properties/CMakeLists.txt 1 addition, 0 deletionsdumux/common/properties/CMakeLists.txt
- dumux/common/properties/newpropertysystem.hh 0 additions, 130 deletionsdumux/common/properties/newpropertysystem.hh
- dumux/common/properties/propertysystem.hh 79 additions, 1245 deletionsdumux/common/properties/propertysystem.hh
- dumux/common/properties/propertysystemmacros.hh 274 additions, 0 deletionsdumux/common/properties/propertysystemmacros.hh
- test/common/propertysystem/CMakeLists.txt 3 additions, 2 deletionstest/common/propertysystem/CMakeLists.txt
- test/common/propertysystem/test_newpropertysystem.cc 0 additions, 124 deletionstest/common/propertysystem/test_newpropertysystem.cc
- test/common/propertysystem/test_propertysystem.cc 94 additions, 166 deletionstest/common/propertysystem/test_propertysystem.cc
- test/common/propertysystem/test_propertysystem_macros.cc 186 additions, 0 deletionstest/common/propertysystem/test_propertysystem_macros.cc
Loading
Please register or sign in to comment