Skip to content

Commit d2ddd52

Browse files
committed
remove completely the members related to the non-used buffer mechanism
1 parent de44fb0 commit d2ddd52

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

src/BeamAdapter/component/mapping/AdaptiveBeamMapping.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ SOFA_BEAMADAPTER_API void AdaptiveBeamMapping<Rigid3Types, Rigid3Types >::apply(
5353
auto out = sofa::helper::getWriteOnlyAccessor(dOut);
5454
const InVecCoord& in= dIn.getValue();
5555

56-
m_isXBufferUsed=false;
57-
5856
// When using an adaptatif controller, one need to redistribute the points at each time step
5957
if (d_useCurvAbs.getValue() && !d_contactDuplicate.getValue())
6058
computeDistribution();

src/BeamAdapter/component/mapping/AdaptiveBeamMapping.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@ class AdaptiveBeamMapping : public Mapping<TIn, TOut>
191191

192192
TopologyContainer* m_topology;
193193

194-
bool m_isXBufferUsed;
195-
typename In::VecCoord m_xBuffer;
196-
197194
type::vector< PosPointDefinition > m_pointBeamDistribution;
198195

199196
/// for continuous_friction_contact:

src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ void AdaptiveBeamMapping< TIn, TOut>::apply(const MechanicalParams* mparams, Dat
205205
auto out = sofa::helper::getWriteOnlyAccessor(dOut);
206206
const InVecCoord& in = dIn.getValue();
207207

208-
m_isXBufferUsed=false;
209-
210208
// When using an adaptatif controller, one need to redistribute the points at each time step
211209
{
212210
SCOPED_TIMER("computeDistribution");

0 commit comments

Comments
 (0)