Skip to content

Commit e6f742b

Browse files
authored
Merge pull request #29778 from joshuahansel/multi-closures-part2
Deleted deprecated closures member
2 parents fd09353 + f440d84 commit e6f742b

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

modules/thermal_hydraulics/include/components/FlowChannelBase.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ class FlowChannelBase : public Component1D, public GravityInterface
182182
*
183183
* @return The closures object(s)
184184
*/
185-
std::shared_ptr<ClosuresBase> getClosures() const
186-
{
187-
mooseDeprecated("getClosures() is deprecated. Use getClosuresObjects() instead.");
188-
return _closures;
189-
}
190185
std::vector<std::shared_ptr<ClosuresBase>> getClosuresObjects() const
191186
{
192187
return _closures_objects;
@@ -221,7 +216,6 @@ class FlowChannelBase : public Component1D, public GravityInterface
221216
FunctionName _area_function;
222217

223218
/// Closures object(s)
224-
std::shared_ptr<ClosuresBase> _closures;
225219
std::vector<std::shared_ptr<ClosuresBase>> _closures_objects;
226220

227221
const bool & _pipe_pars_transferred;

modules/thermal_hydraulics/include/components/HeatTransferBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ class HeatTransferBase : public ConnectorBase
9494
const bool _P_hf_provided;
9595

9696
/// Used closures object(s)
97-
std::shared_ptr<ClosuresBase> _closures;
9897
std::vector<std::shared_ptr<ClosuresBase>> _closures_objects;
9998

10099
/// heated perimeter name

modules/thermal_hydraulics/src/components/FlowChannelBase.C

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ FlowChannelBase::init()
171171
const auto & closures_names = getParam<std::vector<std::string>>("closures");
172172
for (const auto & closures_name : closures_names)
173173
_closures_objects.push_back(getTHMProblem().getClosures(closures_name));
174-
// _closures should be removed after transition:
175-
if (_closures_objects.size() >= 1)
176-
_closures = _closures_objects[0];
177174
}
178175
}
179176

modules/thermal_hydraulics/src/components/HeatTransferBase.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ HeatTransferBase::init()
5656
_model_type = flow_channel.getFlowModelID();
5757
_fp_name = flow_channel.getFluidPropertiesName();
5858
_A_fn_name = flow_channel.getAreaFunctionName();
59-
_closures = flow_channel.getClosures();
6059
_closures_objects = flow_channel.getClosuresObjects();
6160
}
6261
}

0 commit comments

Comments
 (0)