Skip to content
Snippets Groups Projects
Commit 06869661 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

hack removal: computeAveragePressure takes a single combined force/torque vector now

[[Imported from SVN: r6848]]
parent ed20a1b6
No related branches found
No related tags found
No related merge requests found
......@@ -597,12 +597,6 @@ linearizedContinuumNeumannToDirichletMap(const VectorType& currentIterate,
const RigidBodyMotion<3>::TangentVector& forceTorque,
const Dune::FieldVector<double,3>& centerOfTorque) const
{
Dune::FieldVector<double,3> force, torque;
for (int i=0; i<3; i++) {
force[i] = forceTorque[i];
torque[i] = forceTorque[i+3];
}
std::pair<std::string,std::string> interfaceName = std::make_pair("rod","continuum");
////////////////////////////////////////////////////
......@@ -628,7 +622,7 @@ linearizedContinuumNeumannToDirichletMap(const VectorType& currentIterate,
neumannValues = 0;
//
computeAveragePressure<typename ContinuumGridType::LeafGridView>(force, torque,
computeAveragePressure<typename ContinuumGridType::LeafGridView>(forceTorque,
interface,
centerOfTorque,
neumannValues);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment