Skip to content
Snippets Groups Projects
Commit eb0d6fab authored by brgerhar's avatar brgerhar
Browse files

solve::TAOSolver: add [[nodiscard]]

parent f0366787
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ public:
* @param assembleStiffnessMatrix A valid callable. It will be called to
* assemble the stiffness matrix.
*/
cpppetsc::distributed<vector_type>
[[nodiscard]] cpppetsc::distributed<vector_type>
computeSolution(const BoundaryConditionContainer &boundaryConditions,
cpppetsc::distributed<vector_type> initialGuess,
const double time, LocalEnergyAssembler assembleEnergy,
......@@ -122,7 +122,7 @@ public:
* @param assembleStiffnessMatrix A valid callable. It will be called to
* assemble the stiffness matrix.
*/
cpppetsc::distributed<vector_type> computeSolution(
[[nodiscard]] cpppetsc::distributed<vector_type> computeSolution(
const BoundaryConditionContainer &boundaryConditions,
cpppetsc::distributed<vector_type> initialGuess, const double time,
DistributedEnergyAssembler assembleEnergy,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment