Skip to content

Commit 254383a

Browse files
committed
[batch-mode-run] Print value of volume growth constraint
1 parent d86ccb3 commit 254383a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SoftRobots/component/constraint/model/SurfacePressureModel.inl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ void SurfacePressureModel<DataTypes>::storeLambda(const ConstraintParams* cParam
396396
//ReadAccessor<Data<VecCoord>> positions = m_state->readPositions();
397397
//d_cavityVolume.setValue(getCavityVolume(positions.ref()));
398398
d_volumeGrowth.setValue(d_cavityVolume.getValue()-d_initialCavityVolume.getValue());
399+
std::cout << "Volume Growth: " << d_volumeGrowth.getValue() << std::endl;
399400
}
400401

401402
template<class DataTypes>

0 commit comments

Comments
 (0)