@@ -59,10 +59,10 @@ void BeamPotential::set_valid_parameters(std::map<std::string, Core::IO::InputSp
5959 {.description = " Use regularization of force law at separations smaller than this separation" ,
6060 .default_value = -1.0 }));
6161
62- beampotential.specs .emplace_back (parameter<int >(" NUM_INTEGRATION_SEGMENTS " ,
62+ beampotential.specs .emplace_back (parameter<int >(" N_INTEGRATION_SEGMENTS " ,
6363 {.description = " Number of integration segments used per beam element" , .default_value = 1 }));
6464
65- beampotential.specs .emplace_back (parameter<int >(" NUM_GAUSSPOINTS " ,
65+ beampotential.specs .emplace_back (parameter<int >(" N_GAUSS_POINTS " ,
6666 {.description = " Number of Gauss points used per integration segment" , .default_value = 10 }));
6767
6868 beampotential.specs .emplace_back (parameter<bool >(" AUTOMATIC_DIFFERENTIATION" ,
@@ -93,7 +93,7 @@ void BeamPotential::set_valid_parameters(std::map<std::string, Core::IO::InputSp
9393
9494 // output interval regarding steps: write output every INTERVAL_STEPS steps
9595 beampotential_output_sublist.specs .emplace_back (parameter<int >(" INTERVAL_STEPS" ,
96- {.description = " write output at runtime every INTERVAL_STEPS steps" , .default_value = - 1 }));
96+ {.description = " write output at runtime every INTERVAL_STEPS steps" , .default_value = 1 }));
9797
9898 // whether to write output in every iteration of the nonlinear solver
9999 beampotential_output_sublist.specs .emplace_back (parameter<bool >(
@@ -130,30 +130,31 @@ void BeamPotential::set_valid_conditions(
130130{
131131 using namespace Core ::IO::InputSpecBuilders;
132132
133- /* -------------------------------------------------------------------*/
134133 // beam potential interaction: atom/charge density per unit length on LINE
135- Core::Conditions::ConditionDefinition rigidsphere_potential_charge (
136- " DESIGN POINT RIGIDSPHERE POTENTIAL CHARGE CONDITIONS" , " RigidspherePotentialPointCharge" ,
137- " Rigidsphere_Potential_Point_Charge" , Core::Conditions::RigidspherePotential_PointCharge,
138- false , Core::Conditions::geometry_type_point);
139134
140135 Core::Conditions::ConditionDefinition beam_potential_line_charge (
141136 " DESIGN LINE BEAM POTENTIAL CHARGE CONDITIONS" , " BeamPotentialLineCharge" ,
142137 " Beam_Potential_Line_Charge_Density" , Core::Conditions::BeamPotential_LineChargeDensity,
143138 false , Core::Conditions::geometry_type_line);
144139
145- rigidsphere_potential_charge.add_component (parameter<int >(" POTLAW" ));
146- rigidsphere_potential_charge.add_component (parameter<double >(" VAL" ));
147- rigidsphere_potential_charge.add_component (
148- parameter<std::optional<int >>(" FUNCT" , {.description = " " }));
149-
150140 beam_potential_line_charge.add_component (parameter<int >(" POTLAW" ));
151141 beam_potential_line_charge.add_component (parameter<double >(" VAL" ));
152142 beam_potential_line_charge.add_component (
153143 parameter<std::optional<int >>(" FUNCT" , {.description = " " }));
154144
155- condlist.push_back (rigidsphere_potential_charge);
156145 condlist.push_back (beam_potential_line_charge);
146+
147+ Core::Conditions::ConditionDefinition rigidsphere_potential_charge (
148+ " DESIGN POINT RIGIDSPHERE POTENTIAL CHARGE CONDITIONS" , " RigidspherePotentialPointCharge" ,
149+ " Rigidsphere_Potential_Point_Charge" , Core::Conditions::RigidspherePotential_PointCharge,
150+ false , Core::Conditions::geometry_type_point);
151+
152+ rigidsphere_potential_charge.add_component (parameter<int >(" POTLAW" ));
153+ rigidsphere_potential_charge.add_component (parameter<double >(" VAL" ));
154+ rigidsphere_potential_charge.add_component (
155+ parameter<std::optional<int >>(" FUNCT" , {.description = " " }));
156+
157+ condlist.push_back (rigidsphere_potential_charge);
157158}
158159
159160FOUR_C_NAMESPACE_CLOSE
0 commit comments