Skip to content

Commit

Permalink
Clang format changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbolisetti committed Jun 10, 2021
1 parent da1839b commit 21b94e0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/materials/LinearSpring.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LinearSpring : public Material
protected:
/// Initialize stateful properties
virtual void initQpStatefulProperties() override;

/// Compute properties for each qp
virtual void computeQpProperties() override;

Expand Down
9 changes: 6 additions & 3 deletions src/materials/ComputeFPIsolatorElasticity.C
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,15 @@ ComputeFPIsolatorElasticity::ComputeFPIsolatorElasticity(const InputParameters &
_Kb(declareProperty<ColumnMajorMatrix>("si_basic_stiffness_matrix")),
_Kl(declareProperty<ColumnMajorMatrix>("si_local_stiffness_matrix")),
_Kg(declareProperty<ColumnMajorMatrix>("si_global_stiffness_matrix")),
_total_gl(getMaterialPropertyByName<ColumnMajorMatrix>("si_total_global_to_local_transformation")),
_total_lb(getMaterialPropertyByName<ColumnMajorMatrix>("si_total_local_to_basic_transformation")),
_total_gl(
getMaterialPropertyByName<ColumnMajorMatrix>("si_total_global_to_local_transformation")),
_total_lb(
getMaterialPropertyByName<ColumnMajorMatrix>("si_total_local_to_basic_transformation")),
_length(getMaterialPropertyByName<Real>("si_initial_isolator_length")),
_pi(libMesh::pi),
_ubPlastic(declareProperty<RealVectorValue>("SI plastic displacements in basic system")),
_ubPlastic_old(getMaterialPropertyOld<RealVectorValue>("SI plastic displacements in basic system"))
_ubPlastic_old(
getMaterialPropertyOld<RealVectorValue>("SI plastic displacements in basic system"))

{
// Calculation of lateral stiffness of elastic component
Expand Down
10 changes: 7 additions & 3 deletions src/materials/ComputeLRIsolatorElasticity.C
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ ComputeLRIsolatorElasticity::validParams()
// due to heating
// Material properties
params.addRequiredParam<Real>("fy", "Yield strength of the bearing.");
params.addRequiredParam<Real>("alpha", "Ratio of post-yield shear stiffness to the initial elastic shear stiffness of the bearing. Dimensionless.");
params.addRequiredParam<Real>("alpha",
"Ratio of post-yield shear stiffness to the initial elastic shear "
"stiffness of the bearing. Dimensionless.");
params.addRequiredParam<Real>("G_rubber", "Shear modulus of rubber.");
params.addRequiredParam<Real>("K_rubber", "Bulk modulus of rubber.");
params.addRequiredParam<Real>("D1", "Diameter of lead core.");
Expand Down Expand Up @@ -118,8 +120,10 @@ ComputeLRIsolatorElasticity::ComputeLRIsolatorElasticity(const InputParameters &
_Kb(declareProperty<ColumnMajorMatrix>("si_basic_stiffness_matrix")),
_Kl(declareProperty<ColumnMajorMatrix>("si_local_stiffness_matrix")),
_Kg(declareProperty<ColumnMajorMatrix>("si_global_stiffness_matrix")),
_total_gl(getMaterialPropertyByName<ColumnMajorMatrix>("si_total_global_to_local_transformation")),
_total_lb(getMaterialPropertyByName<ColumnMajorMatrix>("si_total_local_to_basic_transformation")),
_total_gl(
getMaterialPropertyByName<ColumnMajorMatrix>("si_total_global_to_local_transformation")),
_total_lb(
getMaterialPropertyByName<ColumnMajorMatrix>("si_total_local_to_basic_transformation")),
_length(getMaterialPropertyByName<Real>("si_initial_isolator_length")),
_pi(libMesh::pi),
_TL_trial(0.0),
Expand Down

0 comments on commit 21b94e0

Please sign in to comment.