Skip to content

Commit

Permalink
clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deslaughter committed Jan 9, 2025
1 parent c29935d commit ba4c081
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
5 changes: 1 addition & 4 deletions src/elements/beams/beam_element.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ struct BeamElement {
BeamQuadrature quadrature; // Element quadrature points and weights

BeamElement(size_t id, std::vector<size_t> n, std::vector<BeamSection> s, BeamQuadrature q)
: ID(std::move(id)),
node_ids(std::move(n)),
sections(std::move(s)),
quadrature(std::move(q)) {}
: ID(id), node_ids(std::move(n)), sections(std::move(s)), quadrature(std::move(q)) {}
};

} // namespace openturbine
2 changes: 1 addition & 1 deletion src/elements/masses/mass_element.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct MassElement {
std::array<std::array<double, 6>, 6> M_star; // Mass matrix in material frame

MassElement(size_t id, size_t n_id, std::array<std::array<double, 6>, 6> mass_matrix)
: ID(std::move(id)), node_id(n_id), M_star(mass_matrix) {}
: ID(id), node_id(n_id), M_star(mass_matrix) {}
};

} // namespace openturbine
8 changes: 0 additions & 8 deletions src/model/model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@

namespace openturbine {

struct Solution {
State state;
Elements elements;
Constraints constraints;
StepParameters parameters;
Solver solver;
};

/// Represents an invalid node in constraints that only uses the target node
static const size_t InvalidNodeID(0U);

Expand Down

0 comments on commit ba4c081

Please sign in to comment.