From ef48678b0730b714f860f4db0288ad605189dff5 Mon Sep 17 00:00:00 2001 From: Jean-Luc Fattebert Date: Mon, 25 Mar 2024 10:11:50 -0400 Subject: [PATCH] Format code --- source/QuadraticFreeEnergyStrategyMultiOrder.h | 11 +++++++---- ...ticFreeEnergyStrategyMultiOrderTernaryThreePhase.h | 11 +++++++---- source/TemperatureFreeEnergyStrategy.h | 8 +++++--- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/source/QuadraticFreeEnergyStrategyMultiOrder.h b/source/QuadraticFreeEnergyStrategyMultiOrder.h index 55eecaf7..09d6230e 100644 --- a/source/QuadraticFreeEnergyStrategyMultiOrder.h +++ b/source/QuadraticFreeEnergyStrategyMultiOrder.h @@ -53,11 +53,13 @@ class QuadraticFreeEnergyStrategyMultiOrder : public FreeEnergyStrategy void addDrivingForce(const double time, hier::Patch& patch, const int temperature_id, const int phase_id, const int eta_id, const int conc_id, const int f_l_id, - const int f_a_id, const int f_b_id, const int rhs_id)override; + const int f_a_id, const int f_b_id, + const int rhs_id) override; void computeSecondDerivativeEnergyPhaseL( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override + std::vector& d2fdc2, + const bool use_internal_units = true) override { (void)temperature; @@ -68,7 +70,8 @@ class QuadraticFreeEnergyStrategyMultiOrder : public FreeEnergyStrategy } void computeSecondDerivativeEnergyPhaseA( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override + std::vector& d2fdc2, + const bool use_internal_units = true) override { (void)temperature; @@ -100,7 +103,7 @@ class QuadraticFreeEnergyStrategyMultiOrder : public FreeEnergyStrategy } } - void preRunDiagnostics(const double temperature)override{}; + void preRunDiagnostics(const double temperature) override{}; private: diff --git a/source/QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase.h b/source/QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase.h index b653976a..9e01650a 100644 --- a/source/QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase.h +++ b/source/QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase.h @@ -50,11 +50,13 @@ class QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase void addDrivingForce(const double time, hier::Patch& patch, const int temperature_id, const int phase_id, const int eta_id, const int conc_id, const int f_l_id, - const int f_a_id, const int f_b_id, const int rhs_id)override; + const int f_a_id, const int f_b_id, + const int rhs_id) override; void computeSecondDerivativeEnergyPhaseL( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override + std::vector& d2fdc2, + const bool use_internal_units = true) override { (void)temperature; @@ -65,7 +67,8 @@ class QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase } void computeSecondDerivativeEnergyPhaseA( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override + std::vector& d2fdc2, + const bool use_internal_units = true) override { (void)temperature; @@ -114,7 +117,7 @@ class QuadraticFreeEnergyStrategyMultiOrderTernaryThreePhase } } - void preRunDiagnostics(const double temperature)override{}; + void preRunDiagnostics(const double temperature) override{}; private: diff --git a/source/TemperatureFreeEnergyStrategy.h b/source/TemperatureFreeEnergyStrategy.h index b5c2a217..bf79c378 100644 --- a/source/TemperatureFreeEnergyStrategy.h +++ b/source/TemperatureFreeEnergyStrategy.h @@ -47,14 +47,16 @@ class TemperatureFreeEnergyStrategy : public FreeEnergyStrategy void computeSecondDerivativeEnergyPhaseL( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override; + std::vector& d2fdc2, + const bool use_internal_units = true) override; void computeSecondDerivativeEnergyPhaseA( const double temperature, const std::vector& c, - std::vector& d2fdc2, const bool use_internal_units = true)override; + std::vector& d2fdc2, + const bool use_internal_units = true) override; void computeSecondDerivativeEnergyPhaseB( const double temperature, const std::vector& c, std::vector& d2fdc2, const bool use_internal_units = true); - void preRunDiagnostics(const double temperature)override{}; + void preRunDiagnostics(const double temperature) override{}; private: double d_latent_heat;