*
* Default value is one.
*/
- size_type block_size;
+ unsigned int block_size;
/**
* If true, plot
* structure to their default
* values.
*/
- Options (const bool show_absolute_values = false,
- const size_type block_size = 1,
- const bool discontinuous = false);
+ Options (const bool show_absolute_values = false,
+ const unsigned int block_size = 1,
+ const bool discontinuous = false);
};
/**
return std::fabs(get_element (matrix, i, j));
else
return get_element (matrix, i, j);
- };
+ }
// if blocksize greater than one,
// then compute average of elements
const Options options)
{
size_type
- gridpoints_x = (matrix.n() / options.block_size
- +
- (matrix.n() % options.block_size != 0 ? 1 : 0)),
- gridpoints_y = (matrix.m() / options.block_size
- +
- (matrix.m() % options.block_size != 0 ? 1 : 0));
+ gridpoints_x = (matrix.n() / options.block_size
+ +
+ (matrix.n() % options.block_size != 0 ? 1 : 0)),
+ gridpoints_y = (matrix.m() / options.block_size
+ +
+ (matrix.m() % options.block_size != 0 ? 1 : 0));
// If continuous, the number of
// plotted patches is matrix size-1
DEAL_II_NAMESPACE_OPEN
-MatrixOut::Options::Options (const bool show_absolute_values,
- const size_type block_size,
- const bool discontinuous)
+MatrixOut::Options::Options (const bool show_absolute_values,
+ const unsigned int block_size,
+ const bool discontinuous)
:
show_absolute_values (show_absolute_values),
block_size (block_size),