-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch 'feature/convert-fixedsize-to-camelcase' into 'master'
CommDataHandleIF: Introduce method 'fixedSize', which does the same as 'fixedsize', but has camel-case naming The CommDataHandleIF interface class has a member 'fixedsize'. This is one of the few in dune-grid that does not comply with the official naming rules: the name should be 'fixedSize'. This patch introduces a new method 'fixedSize', to allow a gradual transition from the old spelling to the new one. The make the transition as painless as possible, but methods implement the following behavior (remember that CommDataHandleIF is the base class in a CRTP pattern): - If the derived/implementation class has a method 'fixedSize', then that method is called. - Otherwise, the method 'fixedsize' is called. This approach allows both implementors of grids and implementors of data handles to switch their code from 'fixedsize' to 'fixedSize' at their convenience. Finally, I have come across a usecase for CRTP. :-) See merge request !82
No related branches found
No related tags found
Pipeline #
Showing
- dune/grid/common/datahandleif.hh 31 additions, 2 deletionsdune/grid/common/datahandleif.hh
- dune/grid/geometrygrid/datahandle.hh 2 additions, 2 deletionsdune/grid/geometrygrid/datahandle.hh
- dune/grid/io/file/dgfparser/gridptr.hh 1 addition, 1 deletiondune/grid/io/file/dgfparser/gridptr.hh
- dune/grid/test/checkcommunicate.hh 1 addition, 1 deletiondune/grid/test/checkcommunicate.hh
- dune/grid/test/checkpartition.hh 1 addition, 1 deletiondune/grid/test/checkpartition.hh
- dune/grid/test/test-parallel-ug.cc 2 additions, 2 deletionsdune/grid/test/test-parallel-ug.cc
- dune/grid/uggrid/ugmessagebuffer.hh 4 additions, 4 deletionsdune/grid/uggrid/ugmessagebuffer.hh
- dune/grid/utility/globalindexset.hh 2 additions, 2 deletionsdune/grid/utility/globalindexset.hh
- dune/grid/yaspgrid.hh 2 additions, 2 deletionsdune/grid/yaspgrid.hh
Loading
Please register or sign in to comment