Skip to content

Commit

Permalink
Formatting using clang-format 19.1 (#12791)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaasse authored Oct 28, 2024
1 parent 505d9c0 commit fee499c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) GeneralUPwDiffOrderCondition : publi

KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(GeneralUPwDiffOrderCondition);

GeneralUPwDiffOrderCondition() : GeneralUPwDiffOrderCondition(0, nullptr, nullptr){};
GeneralUPwDiffOrderCondition() : GeneralUPwDiffOrderCondition(0, nullptr, nullptr) {};

GeneralUPwDiffOrderCondition(IndexType NewId, GeometryType::Pointer pGeometry)
: GeneralUPwDiffOrderCondition(NewId, pGeometry, nullptr)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) SteadyStatePwElement : public Transi
void load(Serializer& rSerializer) override{KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Element)}

// Assignment operator.
SteadyStatePwElement&
operator=(SteadyStatePwElement const& rOther);
SteadyStatePwElement& operator=(SteadyStatePwElement const& rOther);

// Copy constructor.
SteadyStatePwElement(SteadyStatePwElement const& rOther);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) TransientPwElement : public UPwSmall
void load(Serializer& rSerializer) override{KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Element)}

// Assignment operator.
TransientPwElement&
operator=(TransientPwElement const& rOther);
TransientPwElement& operator=(TransientPwElement const& rOther);

// Copy constructor.
TransientPwElement(TransientPwElement const& rOther);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ const std::string parameter_json_settings = R"(

int RunStage(KratosGeoSettlement& rSettlement)
{
return rSettlement.RunStage(
"", "", [](const char*) { /* kept empty as a stub method */ },
[](const double) { /* kept empty as a stub method */ },
[](const char*) { /* kept empty as a stub method */ }, []() { return false; });
return rSettlement.RunStage("", "", [](const char*) { /* kept empty as a stub method */ },
[](const double) { /* kept empty as a stub method */ },
[](const char*) { /* kept empty as a stub method */ },
[]() { return false; });
}

void ExpectNumberOfReadCallsIsEqualToOne(const KratosGeoSettlement& rSettlement)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,22 @@ class DummyStrategyWrapper : public StrategyWrapper
// intentionally empty
}

void CloneTimeStep() override{
void CloneTimeStep() override {
// intentionally empty
};
void RestorePositionsAndDOFVectorToStartOfStep() override{
void RestorePositionsAndDOFVectorToStartOfStep() override {
// intentionally empty
};
void SaveTotalDisplacementFieldAtStartOfTimeLoop() override{
void SaveTotalDisplacementFieldAtStartOfTimeLoop() override {
// intentionally empty
};
void AccumulateTotalDisplacementField() override{
void AccumulateTotalDisplacementField() override {
// intentionally empty
};
void ComputeIncrementalDisplacementField() override{
void ComputeIncrementalDisplacementField() override {
// intentionally empty
};
void OutputProcess() override{
void OutputProcess() override {
// intentionally empty
};

Expand Down

0 comments on commit fee499c

Please sign in to comment.