Skip to content

Commit

Permalink
undo spurious change
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jun 30, 2021
1 parent 6a9f7dd commit bf5296c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/material_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ struct material_data {
user_material_func user_func;
void *user_data;

// used for any variable material (USER, FILE, or GRID):
// indicates whether we should use the fallback subpixel averaging via quadrature
bool do_averaging;

// these fields used only if which_subclass==MATERIAL_FILE
double *epsilon_data;
size_t epsilon_dims[3];
Expand Down Expand Up @@ -158,10 +162,6 @@ struct material_data {
*/
enum { U_MIN = 0, U_PROD = 1, U_MEAN = 2, U_DEFAULT = 3 } material_grid_kinds;

// used for any variable material (USER, FILE, or GRID):
// indicates whether we should use the fallback subpixel averaging via quadrature
bool do_averaging;

material_data();

void copy_from(const material_data& from);
Expand Down

0 comments on commit bf5296c

Please sign in to comment.