Commit 1a6b36e2 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Add runtime refinement option to RuntimeSettings and fix get coordinates inline documentation

parent 428182e2
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ public:
   * This is a specialized function to access the X coordinate of a sphere through
   * its index.
   *
   * \param index: `int` Index of the scale to be retrieved.
   * \param index: `int` Index of the sphere (0-based).
   * \return scale: `double` The X coordinate of the requested sphere.
   */
  double get_sph_x(int index) { return _sph_x[index]; }
@@ -293,7 +293,7 @@ public:
   * This is a specialized function to access the Y coordinate of a sphere through
   * its index.
   *
   * \param index: `int` Index of the scale to be retrieved.
   * \param index: `int` Index of the sphere (0-based).
   * \return scale: `double` The Y coordinate of the requested sphere.
   */
  double get_sph_y(int index) { return _sph_y[index]; }
@@ -304,7 +304,7 @@ public:
   * This is a specialized function to access the Z coordinate of a sphere through
   * its index.
   *
   * \param index: `int` Index of the scale to be retrieved.
   * \param index: `int` Index of the sphere (0-based).
   * \return scale: `double` The Z coordinate of the requested sphere.
   */
  double get_sph_z(int index) { return _sph_z[index]; }
@@ -327,6 +327,8 @@ protected:
  double _gpu_ram_gb;
  //! \brief Host system memory in GiB.
  double _host_ram_gb;
  //! \brief Refinement flag.
  bool _use_refinement;

public:
  //! \brief Flag for LU factorization inversion.
@@ -342,6 +344,8 @@ public:
  const double& gpu_ram_gb = _gpu_ram_gb;
  //! \brief Read-only view on host system memory in GiB.
  const double& host_ram_gb = _host_ram_gb;
  //! \brief Read-only view on refinement flag.
  const bool& use_refinement = _use_refinement;

  /**
   * \brief RuntimeSettings instance constructor.