Skip to content

Commit

Permalink
doc,tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
esseivaju committed Jan 9, 2025
1 parent 284fc63 commit e57d896
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/orange/univ/detail/CachedLazySenseCalculator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ namespace detail
* volume, and a position. Calling an instance evaluates the sense of a
* volume's face with respect to the given position. This class is used to
* lazily calculate sense during evaluation of a logic expression, caching
* previously calculated senses, allowing potential short-circuiting
* of unnecessary sense evaluation.
* previously calculated senses.
*
* The OnFace constructor's parameter is used to store the first face that we
* are "on".
Expand Down
3 changes: 2 additions & 1 deletion src/orange/univ/detail/SenseCalculator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ namespace detail
* Calculate senses with a fixed particle position.
*
* This is an implementation detail used in initialization *and* complex
* intersection.
* intersection. Senses are eagerly calculated for all faces in the volume at
* construction.
*/
class SenseCalculator
{
Expand Down
4 changes: 2 additions & 2 deletions test/orange/univ/detail/SenseCalculator.test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ TYPED_TEST(SenseCalculatorTest, one_volume)
{
using MySenseCalc = TypeParam;
{
typename SenseCalculatorTest<MySenseCalc>::OneVolInput geo_inp;
typename TestFixture::OneVolInput geo_inp;
this->build_geometry(geo_inp);
}

Expand All @@ -134,7 +134,7 @@ TYPED_TEST(SenseCalculatorTest, two_volumes)
{
using MySenseCalc = TypeParam;
{
typename SenseCalculatorTest<TypeParam>::TwoVolInput geo_inp;
typename TestFixture::TwoVolInput geo_inp;
geo_inp.radius = 1.5;
this->build_geometry(geo_inp);
}
Expand Down

0 comments on commit e57d896

Please sign in to comment.