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

use the RodFactory to compute starting values for the rod Dirichlet problems

[[Imported from SVN: r6746]]
parent f3598408
No related branches found
No related tags found
No related merge requests found
...@@ -368,10 +368,15 @@ void RodContinuumSteklovPoincareStep<RodGridType,ContinuumGridType>::iterate(Rig ...@@ -368,10 +368,15 @@ void RodContinuumSteklovPoincareStep<RodGridType,ContinuumGridType>::iterate(Rig
// solve a Dirichlet problem for the rod // solve a Dirichlet problem for the rod
RodSolutionType rodX; RodSolutionType rodX;
/** \todo Using that index 0 is always the left boundary for a uniformly refined OneDGrid */ /** \todo Using that the coupling boundary is the one with the lower coordinate */
rodX[0] = lambda;
#warning Dirichlet boundary not properly set #warning Dirichlet boundary not properly set
rodX.back() = lambda; RigidBodyMotion<3> rodDirichletValue;
rodDirichletValue.r = 0;
rodDirichletValue.q = Rotation<3,double>::identity();
RodFactory<typename RodGridType::LeafGridView> rodFactory(complex_.rodGrids_["rod"]->leafView());
rodFactory.create(rodX,lambda,rodDirichletValue);
rodSolver_->setInitialSolution(rodX); rodSolver_->setInitialSolution(rodX);
rodSolver_->solve(); rodSolver_->solve();
......
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