IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Air Shower Physics
corsika
Merge requests
!75
Resolve "add constant for nucleon mass"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "add constant for nucleon mass"
122-add-constant-for-nucleon-mass
into
master
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Maximilian Reininghaus
requested to merge
122-add-constant-for-nucleon-mass
into
master
6 years ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
Closes
#122 (closed)
Edited
6 years ago
by
Maximilian Reininghaus
0
0
Merge request reports
Viewing commit
29b99594
Prev
Next
Show latest version
1 file
+
2
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
29b99594
removed dead code
· 29b99594
Maximilian Reininghaus
authored
6 years ago
Framework/Units/PhysicalUnits.h
+
2
−
19
Options
@@ -18,28 +18,11 @@ namespace phys::units {
/**
* @file PhysicalUnits
*
* Add new units and types we need. Units are compile-time. We support
* different system of units in parallel. Literals are used for
* optimal coding style.
* Add new units and types we need. Units are compile-time. Literals are
* used for optimal coding style.
*
*/
/*
namespace corsika::units::hep {
using namespace phys::units;
using namespace phys::units::literals;
using namespace phys::units::io;
/// defining HEP energy, mass, momentum
using energy_hep_d = phys::units::energy_d;
constexpr phys::units::quantity<energy_hep_d> GeV{corsika::units::constants::eV};
// corsika::units::constants::e / phys::units::coulomb * phys::units::joule };
using MassType = phys::units::quantity<energy_hep_d, double>;
using MomentumType = phys::units::quantity<energy_hep_d, double>;
using EnergyType = phys::units::quantity<energy_hep_d, double>;
} // namespace corsika::units::hep
*/
namespace
corsika
::
units
::
si
{
using
namespace
phys
::
units
;
using
namespace
phys
::
units
::
literals
;
Loading