|
|
The refactory 2020 needs further work to be finished. Here, this is described
|
|
|
# Status of work
|
|
|
|
|
|
- [.] one
|
|
|
- [X] two
|
|
|
- [*] three
|
|
|
The refactory 2020 needs further work to be finished. Here is the task list:
|
|
|
|
|
|
- [X] new temporary refactory project [here](https://gitlab.ikp.kit.edu/AAAlvesJr/corsika)
|
|
|
- [X] new directory, file structure, and repository
|
|
|
- [X] new build system setup, dependencies, modules, externals
|
|
|
- [ ] gitlab-CI is working
|
|
|
|
|
|
- [X] updated [Coding Guidelines](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/-/wikis/Coding-Conventions-and-Guidelines)
|
|
|
- [ ] migration of code
|
|
|
- [ ] CI works in the end
|
|
|
- [ ] assessment of the migrated code
|
|
|
- [ ] Final step: merge refactory code into AirShowerPhysics/corsika/master
|
|
|
|
|
|
|
|
|
# Migrate code from AirShowerPhysics/corsika/master
|
|
|
|
|
|
- Please read the new Coding Guidelines
|
|
|
- Please check the new project layout
|
|
|
- Comments in general [in this Issue](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/-/issues/320)
|
|
|
- Comments to specific migration steps in the [individual MRs](https://gitlab.ikp.kit.edu/AAAlvesJr/corsika/-/merge_requests)
|
|
|
- Let others know, what you are working on to prevent clashes!
|
|
|
- Check git difference between commit: 4d1baa1d625947ce9c3ca86bd0f281065e41966c (March 10) to origin/master HEAD, and either apply those differences to a MR [here](https://gitlab.ikp.kit.edu/AAAlvesJr/corsika), or alternatively copy the entire code, adapt it to the new structure and coding guidelines and then put it into a MR [here](https://gitlab.ikp.kit.edu/AAAlvesJr/corsika)
|
|
|
- **Note** depending on the nature of changes, it might be that the CI will not run all the time (interface changes, etc). This is OK, but has obviously to be fixed later.
|
|
|
- Edit this Wiki page here and indicate progress!
|
|
|
|
|
|
# Files and directories:
|
|
|
|
|
|
Running:
|
|
|
```find . -name "*.[h,cc]" | grep -v PROPOSAL | grep -v inexlib | grep -v build | grep -v ThirdParty```
|
|
|
provides us with a complete list of files (133). Each one has to be checked, and migrated carefully:
|
|
|
|
|
|
- [ ] ./Stack/GeometryNodeStackExtension/GeometryNodeStackExtension.h
|
|
|
- [ ] ./Stack/NuclearStackExtension/NuclearStackExtension.h
|
|
|
- [ ] ./Stack/SuperStupidStack/SuperStupidStack.h
|
|
|
- [ ] ./Stack/DummyStack/DummyStack.h
|
|
|
- [ ] ./Environment/SlidingPlanarExponential.h
|
|
|
- [ ] ./Environment/LinearApproximationIntegrator.h
|
|
|
- [ ] ./Environment/MediumPropertyModel.h
|
|
|
- [ ] ./Environment/UniformRefractiveIndex.h
|
|
|
- [ ] ./Environment/LayeredSphericalAtmosphereBuilder.h
|
|
|
- [ ] ./Environment/FlatExponential.h
|
|
|
- [ ] ./Environment/VolumeTreeNode.h
|
|
|
- [ ] ./Environment/MediumTypes.h
|
|
|
- [ ] ./Environment/InhomogeneousMedium.h
|
|
|
- [ ] ./Environment/NameModel.h
|
|
|
- [ ] ./Environment/UniformMagneticField.h
|
|
|
- [ ] ./Environment/Environment.h
|
|
|
- [ ] ./Environment/NuclearComposition.h
|
|
|
- [ ] ./Environment/DensityFunction.h
|
|
|
- [ ] ./Environment/NoMagneticField.h
|
|
|
- [ ] ./Environment/IMediumModel.h
|
|
|
- [ ] ./Environment/HomogeneousMedium.h
|
|
|
- [ ] ./Environment/IMagneticFieldModel.h
|
|
|
- [ ] ./Environment/ShowerAxis.h
|
|
|
- [ ] ./Environment/IMediumPropertyModel.h
|
|
|
- [ ] ./Environment/IRefractiveIndexModel.h
|
|
|
- [ ] ./Environment/MediumProperties.h
|
|
|
- [ ] ./Environment/BaseExponential.h
|
|
|
- [ ] ./Framework/Random/UniformRealDistribution.h
|
|
|
- [ ] ./Framework/Random/ExponentialDistribution.h
|
|
|
- [ ] ./Framework/Random/RNGManager.h
|
|
|
- [ ] ./Framework/Units/PhysicalConstants.h
|
|
|
- [ ] ./Framework/Units/PhysicalUnits.h
|
|
|
- [ ] ./Framework/ProcessSequence/NullModel.h
|
|
|
- [ ] ./Framework/ProcessSequence/DecayProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/StackProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/BoundaryCrossingProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/ProcessSequence.h
|
|
|
- [ ] ./Framework/ProcessSequence/ProcessTraits.h
|
|
|
- [ ] ./Framework/ProcessSequence/SecondariesProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/InteractionProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/ProcessReturn.h
|
|
|
- [ ] ./Framework/ProcessSequence/BaseProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/testSwitchProcessSequence.h
|
|
|
- [ ] ./Framework/ProcessSequence/ContinuousProcess.h
|
|
|
- [ ] ./Framework/ProcessSequence/ProcessSignature.h
|
|
|
- [ ] ./Framework/ProcessSequence/SwitchProcessSequence.h
|
|
|
- [ ] ./Framework/Particles/ParticleProperties.h
|
|
|
- [ ] ./Framework/Geometry/CoordinateSystem.h
|
|
|
- [ ] ./Framework/Geometry/QuantityVector.h
|
|
|
- [ ] ./Framework/Geometry/Vector.h
|
|
|
- [ ] ./Framework/Geometry/Point.h
|
|
|
- [ ] ./Framework/Geometry/RootCoordinateSystem.h
|
|
|
- [ ] ./Framework/Geometry/BaseTrajectory.h
|
|
|
- [ ] ./Framework/Geometry/Volume.h
|
|
|
- [ ] ./Framework/Geometry/Plane.h
|
|
|
- [ ] ./Framework/Geometry/Sphere.h
|
|
|
- [ ] ./Framework/Geometry/Trajectory.h
|
|
|
- [ ] ./Framework/Geometry/BaseVector.h
|
|
|
- [ ] ./Framework/Geometry/Line.h
|
|
|
- [ ] ./Framework/Geometry/Helix.h
|
|
|
- [ ] ./Framework/Geometry/FourVector.h
|
|
|
- [ ] ./Framework/StackInterface/testTestStack.h
|
|
|
- [ ] ./Framework/StackInterface/Stack.h
|
|
|
- [ ] ./Framework/StackInterface/CombinedStack.h
|
|
|
- [ ] ./Framework/StackInterface/ParticleBase.h
|
|
|
- [ ] ./Framework/StackInterface/SecondaryView.h
|
|
|
- [ ] ./Framework/StackInterface/StackIteratorInterface.h
|
|
|
- [ ] ./Framework/Logging/Logging.h
|
|
|
- [ ] ./Framework/Analytics/FunctionTimer.h
|
|
|
- [ ] ./Framework/Analytics/ClassTimer.h
|
|
|
- [ ] ./Framework/Utilities/Bit.h
|
|
|
- [ ] ./Framework/Utilities/sgn.h
|
|
|
- [ ] ./Framework/Utilities/CorsikaFenv.h
|
|
|
- [ ] ./Framework/Utilities/CorsikaData.h
|
|
|
- [ ] ./Framework/Utilities/COMBoost.h
|
|
|
- [ ] ./Framework/Utilities/quartic.h
|
|
|
- [ ] ./Framework/Utilities/Singleton.h
|
|
|
- [ ] ./Framework/Utilities/MetaProgramming.h
|
|
|
- [ ] ./Framework/Cascade/Cascade.h
|
|
|
- [ ] ./Framework/Cascade/testCascade.h
|
|
|
- [ ] ./Framework/Cascade/Cascade_interpolation.h
|
|
|
- [ ] ./COAST/ParticleConversion.h
|
|
|
- [ ] ./COAST/COASTStack.h
|
|
|
- [ ] ./COAST/COASTProcess.h
|
|
|
- [ ] ./Setup/SetupStack.h
|
|
|
- [ ] ./Setup/SetupEnvironment.h
|
|
|
- [ ] ./Setup/SetupTrajectory.h
|
|
|
- [ ] ./Data/readLib/corsika_data/Interface.h
|
|
|
- [ ] ./Processes/UrQMD/UrQMD.h
|
|
|
- [ ] ./Processes/LongitudinalProfile/LongitudinalProfile.h
|
|
|
- [ ] ./Processes/ObservationPlane/ObservationPlane.h
|
|
|
- [ ] ./Processes/OnShellCheck/OnShellCheck.h
|
|
|
- [ ] ./Processes/HadronicElasticModel/HadronicElasticModel.h
|
|
|
- [ ] ./Processes/ExampleProcessors/DummySecondariesProcess.h
|
|
|
- [ ] ./Processes/ExampleProcessors/DummyDecayProcess.h
|
|
|
- [ ] ./Processes/ExampleProcessors/DummyContinuousProcess.h
|
|
|
- [ ] ./Processes/ExampleProcessors/DummyBoundaryCrossingProcess.h
|
|
|
- [ ] ./Processes/ExampleProcessors/DummyInteractionProcess.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ImplBoundary.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ImplSecondaries.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ExecTime.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ExecTimeImpl.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ImplDecay.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ImplInteraction.h
|
|
|
- [ ] ./Processes/AnalyticProcessors/ImplContinuous.h
|
|
|
- [ ] ./Processes/TrackingLine/testTrackingLineStack.h
|
|
|
- [ ] ./Processes/TrackingLine/TrackingLine.h
|
|
|
- [ ] ./Processes/TrackingLine/TrackingLine_interpolation.h
|
|
|
- [ ] ./Processes/EnergyLoss/EnergyLoss.h
|
|
|
- [ ] ./Processes/Proposal/Interaction.h
|
|
|
- [ ] ./Processes/Proposal/ContinuousProcess.h
|
|
|
- [ ] ./Processes/Proposal/ProposalProcessBase.h
|
|
|
- [ ] ./Processes/ParticleCut/ParticleCut.h
|
|
|
- [ ] ./Processes/QGSJetII/ParticleConversion.h
|
|
|
- [ ] ./Processes/QGSJetII/QGSJetIIFragmentsStack.h
|
|
|
- [ ] ./Processes/QGSJetII/Interaction.h
|
|
|
- [ ] ./Processes/QGSJetII/qgsjet-II-04.h
|
|
|
- [ ] ./Processes/QGSJetII/QGSJetIIStack.h
|
|
|
- [ ] ./Processes/Pythia/Interaction.h
|
|
|
- [ ] ./Processes/Pythia/Decay.h
|
|
|
- [ ] ./Processes/Pythia/Random.h
|
|
|
- [ ] ./Processes/Sibyll/ParticleConversion.h
|
|
|
- [ ] ./Processes/Sibyll/Interaction.h
|
|
|
- [ ] ./Processes/Sibyll/SibStack.h
|
|
|
- [ ] ./Processes/Sibyll/Decay.h
|
|
|
- [ ] ./Processes/Sibyll/nuclib.h
|
|
|
- [ ] ./Processes/Sibyll/NuclearInteraction.h
|
|
|
- [ ] ./Processes/Sibyll/sibyll2.3d.h
|
|
|
- [ ] ./Processes/SwitchProcess/SwitchProcess.h
|
|
|
- [ ] ./Processes/CONEXSourceCut/CONEXSourceCut.h
|
|
|
- [ ] ./Processes/CONEXSourceCut/CONEX_f.h
|
|
|
- [ ] ./Processes/TrackWriter/TrackWriter.h
|
|
|
- [ ] ./Processes/StackInspector/StackInspector.h
|
|
|
|
|
|
|
|
|
|
|
|
|