Commit 6c2472fe authored by Martin Reinecke's avatar Martin Reinecke

additional getters suggested by Samuel Simko

parent c8bf036c
Pipeline #98157 passed with stages
in 23 minutes and 38 seconds
......@@ -21,7 +21,7 @@
/*! \file sharp_geomhelpers.h
* SHARP helper function for the creation of grid geometries
*
* Copyright (C) 2006-2020 Max-Planck-Society
* Copyright (C) 2006-2021 Max-Planck-Society
* \author Martin Reinecke
*/
......@@ -76,6 +76,8 @@ class sharp_standard_geom_info: public sharp_geom_info
virtual double cth(size_t iring) const { return ring[iring].cth; }
virtual double sth(size_t iring) const { return ring[iring].sth; }
virtual double phi0(size_t iring) const { return ring[iring].phi0; }
virtual ptrdiff_t ofs(size_t iring) const { return ring[iring].ofs; }
virtual double weight(size_t iring) const { return ring[iring].weight; }
virtual Tpair pair(size_t ipair) const { return pair_[ipair]; }
virtual void clear_map(const std::any &map) const;
virtual void get_ring(bool weighted, size_t iring, const std::any &map, mav<double,1> &ringtmp) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment