From 3682abff9444c49affa3023bee7ad0b0fddd6086 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Wed, 10 Apr 2024 10:18:27 +0200 Subject: [PATCH] write namespace comments Co-authored-by: erik pernod --- src/BeamAdapter/component/BeamInterpolation.cpp | 2 +- src/BeamAdapter/component/BeamInterpolation.inl | 3 ++- .../component/constraint/AdaptiveBeamLengthConstraint.cpp | 3 ++- .../component/constraint/AdaptiveBeamLengthConstraint.inl | 2 +- src/BeamAdapter/component/controller/SutureController.cpp | 2 +- src/BeamAdapter/component/controller/SutureController.inl | 3 ++- .../component/forcefield/AdaptiveBeamForceFieldAndMass.cpp | 2 +- .../component/forcefield/AdaptiveInflatableBeamForceField.cpp | 2 +- .../component/forcefield/AdaptiveInflatableBeamForceField.inl | 3 ++- src/BeamAdapter/component/mapping/BeamLengthMapping.h | 2 +- 10 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/BeamAdapter/component/BeamInterpolation.cpp b/src/BeamAdapter/component/BeamInterpolation.cpp index 80606945..c3a225c7 100644 --- a/src/BeamAdapter/component/BeamInterpolation.cpp +++ b/src/BeamAdapter/component/BeamInterpolation.cpp @@ -64,4 +64,4 @@ static int BeamInterpolationClass = core::RegisterObject("Adaptive Beam Interpol //////////////////////////////////////////////////////////////////////////////////////////////////// template class SOFA_BEAMADAPTER_API BeamInterpolation; -} +} // namespace sofa::component::fem::_beaminterpolation_ diff --git a/src/BeamAdapter/component/BeamInterpolation.inl b/src/BeamAdapter/component/BeamInterpolation.inl index 54a55ee4..79cceaf0 100644 --- a/src/BeamAdapter/component/BeamInterpolation.inl +++ b/src/BeamAdapter/component/BeamInterpolation.inl @@ -1498,4 +1498,5 @@ void BeamInterpolation::MapForceOnNodeUsingSpline(unsigned int edgeIn } -} +} // namespace sofa::component::fem::_beaminterpolation_ + diff --git a/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.cpp b/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.cpp index b15801a9..b5abfd83 100644 --- a/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.cpp +++ b/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.cpp @@ -76,4 +76,5 @@ static int AdaptiveBeamLengthConstraintClass = RegisterObject("Constrain the len template class AdaptiveBeamLengthConstraint; -} +} // namespace sofa::component::constraintset::_adaptivebeamlengthconstraint_ + diff --git a/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.inl b/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.inl index 6f8448ba..74651843 100644 --- a/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.inl +++ b/src/BeamAdapter/component/constraint/AdaptiveBeamLengthConstraint.inl @@ -404,4 +404,4 @@ void AdaptiveBeamLengthConstraint::draw(const VisualParams* vparams) vparams->drawTool()->restoreLastState(); } -} +} // namespace sofa::component::constraintset::_adaptivebeamlengthconstraint_ diff --git a/src/BeamAdapter/component/controller/SutureController.cpp b/src/BeamAdapter/component/controller/SutureController.cpp index 6f606900..5f322528 100644 --- a/src/BeamAdapter/component/controller/SutureController.cpp +++ b/src/BeamAdapter/component/controller/SutureController.cpp @@ -58,4 +58,4 @@ static int SutureControllerClass = core::RegisterObject("Provides a Mouse & Keyb template class SOFA_BEAMADAPTER_API SutureController; -} +} // namespace sofa::component::controller::_suturecontroller_ diff --git a/src/BeamAdapter/component/controller/SutureController.inl b/src/BeamAdapter/component/controller/SutureController.inl index f53b08be..f38a5f44 100644 --- a/src/BeamAdapter/component/controller/SutureController.inl +++ b/src/BeamAdapter/component/controller/SutureController.inl @@ -1212,4 +1212,5 @@ void SutureController::draw(const core::visual::VisualParams* vparams } } -} +} // namespace sofa::component::controller::_suturecontroller_ + diff --git a/src/BeamAdapter/component/forcefield/AdaptiveBeamForceFieldAndMass.cpp b/src/BeamAdapter/component/forcefield/AdaptiveBeamForceFieldAndMass.cpp index 17af8639..892221b2 100644 --- a/src/BeamAdapter/component/forcefield/AdaptiveBeamForceFieldAndMass.cpp +++ b/src/BeamAdapter/component/forcefield/AdaptiveBeamForceFieldAndMass.cpp @@ -59,4 +59,4 @@ template class SOFA_BEAMADAPTER_API AdaptiveBeamForceFieldAndMass::drawElement(const VisualParams } -} +} // namespace sofa::component::forcefield::_AdaptiveInflatableBeamForceField_ + diff --git a/src/BeamAdapter/component/mapping/BeamLengthMapping.h b/src/BeamAdapter/component/mapping/BeamLengthMapping.h index 481a852e..3e961461 100644 --- a/src/BeamAdapter/component/mapping/BeamLengthMapping.h +++ b/src/BeamAdapter/component/mapping/BeamLengthMapping.h @@ -234,5 +234,5 @@ using _beamlengthmapping_::BeamLengthMapping ; -} +} // namespace sofa::component::mapping #endif /* SOFA_COMPONENT_MAPPING_BEAMLENGTHMAPPING_H */