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
Commits
29b99594
Commit
29b99594
authored
6 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Patches
Plain Diff
removed dead code
parent
5d46c06a
No related branches found
No related tags found
1 merge request
!75
Resolve "add constant for nucleon mass"
Pipeline
#296
passed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Units/PhysicalUnits.h
+2
-19
2 additions, 19 deletions
Framework/Units/PhysicalUnits.h
with
2 additions
and
19 deletions
Framework/Units/PhysicalUnits.h
+
2
−
19
View file @
29b99594
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment