@@ -28,7 +28,7 @@ FOUR_C_NAMESPACE_OPEN
2828/* ----------------------------------------------------------------------*/
2929/* ----------------------------------------------------------------------*/
3030Adapter::StructureTimeAdaJoint::StructureTimeAdaJoint (std::shared_ptr<Structure> structure)
31- : StructureTimeAda(structure), sta_(nullptr ), sta_wrapper_( nullptr )
31+ : StructureTimeAda(structure), sta_(nullptr )
3232{
3333 if (stm_->is_setup ()) setup_auxiliary ();
3434}
@@ -91,12 +91,11 @@ void Adapter::StructureTimeAdaJoint::setup_auxiliary()
9191 sta_->init (dataio, datasdyn, dataglobalstate);
9292 sta_->setup ();
9393
94- // setup wrapper
95- sta_wrapper_ = std::make_shared<Adapter::StructureTimeLoop>(sta_);
96-
9794 const int restart = Global::Problem::instance ()->restart ();
9895 if (restart)
9996 {
97+ sta_->post_setup ();
98+
10099 const Solid::TimeInt::Base& sti = *stm_;
101100 const auto & gstate = sti.data_global_state ();
102101 dataglobalstate->get_dis_n ()->update (1.0 , *(gstate.get_dis_n ()), 0.0 );
@@ -240,4 +239,15 @@ void Adapter::StructureTimeAdaJoint::reset_step()
240239 sta_->reset_step ();
241240}
242241
242+ /* ----------------------------------------------------------------------*/
243+ /* ----------------------------------------------------------------------*/
244+ void Adapter::StructureTimeAdaJoint::post_setup ()
245+ {
246+ // base post setup
247+ Adapter::StructureTimeAda::post_setup ();
248+
249+ // post setup the auxiliary time integrator
250+ sta_->post_setup ();
251+ }
252+
243253FOUR_C_NAMESPACE_CLOSE
0 commit comments