Skip to content

Commit

Permalink
Added definitions for static const constexpr.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschreib committed Oct 20, 2017
1 parent 00e95f6 commit 3e38a08
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/fast++.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@

const char* fastpp_version = "1.0";

const constexpr uint_t grid_id::z;
const constexpr uint_t grid_id::av;
const constexpr uint_t grid_id::age;
const constexpr uint_t grid_id::metal;
const constexpr uint_t grid_id::custom;

const constexpr uint_t prop_id::scale;
const constexpr uint_t prop_id::spec_scale;
const constexpr uint_t prop_id::mass;
const constexpr uint_t prop_id::sfr;
const constexpr uint_t prop_id::ssfr;
const constexpr uint_t prop_id::ldust;
const constexpr uint_t prop_id::lion;
const constexpr uint_t prop_id::mform;
const constexpr uint_t prop_id::custom;

int phypp_main(int argc, char* argv[]) {
std::string param_file = (argc >= 2 ? argv[1] : "fast.param");

Expand Down

0 comments on commit 3e38a08

Please sign in to comment.