Skip to content

Commit

Permalink
Merge branch 'dev' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
larc committed Jan 23, 2024
2 parents 2d0c822 + 8dcd09d commit d4a6246
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/gproshan/mesh/che.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class che

// vertex color methods
const real_t * heatmap_ptr() const;
real_t heatmap_scale() const;
void heatmap_scale(const real_t shm);
real_t heatmap_scale(const index_t v) const;
real_t heatmap(const index_t v) const;
Expand Down
5 changes: 5 additions & 0 deletions src/gproshan/mesh/che.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ const real_t * che::heatmap_ptr() const
return VHC;
}

real_t che::heatmap_scale() const
{
return scale_hm;
}

void che::heatmap_scale(const real_t shm)
{
scale_hm = shm;
Expand Down

0 comments on commit d4a6246

Please sign in to comment.