Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a simpler way to initialize default arguments. #13009

Merged
merged 1 commit into from
Nov 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 4 additions & 8 deletions include/deal.II/numerics/data_out_dof_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -729,8 +729,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim, patch_spacedim>
const std::vector<std::string> &names,
const DataVectorType type = type_automatic,
const std::vector<DataComponentInterpretation::DataComponentInterpretation>
&data_component_interpretation = std::vector<
DataComponentInterpretation::DataComponentInterpretation>());
&data_component_interpretation = {});

/**
* This function is an abbreviation to the above one (see there for a
Expand All @@ -755,8 +754,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim, patch_spacedim>
const std::string & name,
const DataVectorType type = type_automatic,
const std::vector<DataComponentInterpretation::DataComponentInterpretation>
&data_component_interpretation = std::vector<
DataComponentInterpretation::DataComponentInterpretation>());
&data_component_interpretation = {});

/**
* This function is an extension of the above one (see there for a
Expand All @@ -780,8 +778,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim, patch_spacedim>
const VectorType & data,
const std::vector<std::string> & names,
const std::vector<DataComponentInterpretation::DataComponentInterpretation>
&data_component_interpretation = std::vector<
DataComponentInterpretation::DataComponentInterpretation>());
&data_component_interpretation = {});


/**
Expand All @@ -795,8 +792,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim, patch_spacedim>
const VectorType & data,
const std::string & name,
const std::vector<DataComponentInterpretation::DataComponentInterpretation>
&data_component_interpretation = std::vector<
DataComponentInterpretation::DataComponentInterpretation>());
&data_component_interpretation = {});

/**
* This function is an alternative to the above ones, allowing the output of
Expand Down