Skip to content

Commit

Permalink
Style update
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Jan 6, 2025
1 parent d76ffe5 commit b202ee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/openmc/plot.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ class RayTracePlot : public PlottableInterface {
static int advance_to_boundary_from_void(GeometryState& p);

protected:

Direction camera_x_axis() const
{
return {camera_to_model_[0], camera_to_model_[3], camera_to_model_[6]};
Expand All @@ -329,7 +328,6 @@ class RayTracePlot : public PlottableInterface {
return {camera_to_model_[2], camera_to_model_[5], camera_to_model_[8]};
}


void set_output_path(pugi::xml_node plot_node);

/*
Expand All @@ -348,7 +346,7 @@ class RayTracePlot : public PlottableInterface {
void set_orthographic_width(pugi::xml_node node);

double horizontal_field_of_view_ {70.0}; // horiz. f.o.v. in degrees
Position camera_position_; // where camera is
Position camera_position_; // where camera is
Position look_at_; // point camera is centered looking at

Direction up_ {0.0, 0.0, 1.0}; // which way is up
Expand Down
3 changes: 2 additions & 1 deletion src/plot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,8 @@ int RayTracePlot::advance_to_boundary_from_void(GeometryState& p)
Universe* uni = model::universes[model::root_universe].get();
int intersected_surface = -1;
for (auto c_i : uni->cells_) {
auto dist = model::cells.at(c_i)->distance(root_coord.r, root_coord.u, 0, &p);
auto dist =
model::cells.at(c_i)->distance(root_coord.r, root_coord.u, 0, &p);
if (dist.first < min_dist) {
min_dist = dist.first;
intersected_surface = dist.second;
Expand Down

0 comments on commit b202ee5

Please sign in to comment.