Skip to content
Snippets Groups Projects
Commit 0b94cd4b authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

merge two constructors into one with a default argument

[[Imported from SVN: r3316]]
parent 8b0da7c2
No related branches found
No related tags found
No related merge requests found
......@@ -194,21 +194,8 @@ public:
{
}
// Constructor for default axis of anisotropy = dim-1
inline explicit PermutationManager ( GridViewType gridView)
: gridView_( gridView ),
node_list_( gridView.size(dim) ),
original_node_list_( gridView.size(dim) ),
axis_of_anisotropy_( dim-1 ),
number_of_blocks_( 0 ),
blocks_set_up_( false ),
permutation_set_up_( false )
{
set_up_node_lists();
}
// Constructor for setting number of the axis along which we have the anisotropy (0=x, 1=y, 2=z)
inline explicit PermutationManager ( GridViewType gridView, const int axis_of_anisotropy)
inline explicit PermutationManager ( GridViewType gridView, const int axis_of_anisotropy=dim-1)
: gridView_( gridView ),
node_list_( gridView.size(dim) ),
original_node_list_( gridView.size(dim) ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment