Author Topic: Solve() secuencial calls, order change proposal  (Read 306 times)

Josep Maria

  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 50
Solve() secuencial calls, order change proposal
« on: October 13, 2016, 09:18:52 PM »
Is the order of the InitializeSolutionStep(); Predict(); necessary for anybody ?
      
Code: [Select]
    virtual double Solve()
    {
Initialize();
InitializeSolutionStep();
Predict();
SolveSolutionStep();
FinalizeSolutionStep();
        return 0.00;
    }

if it is changed, It will affect to the computation of your elements ?

Code: [Select]
    virtual double Solve()
    {
Initialize();
Predict();
InitializeSolutionStep();
SolveSolutionStep();
FinalizeSolutionStep();
        return 0.00;
    }

After predicting some nodal values, in some elements, some elemental variables must be updated at the beginning of the step, only once. This can be carried on in the first call to InitializeNonLinearIteration, or better, in the single call to InitializeSolutionStep, last needs for the second disposal of calls.
If the order changes, this affects to anybody ?. Please check if it does.

Miguel Angel Celigueta

  • Administrator
  • Newbie
  • *****
  • Posts: 38
Re: Solve() secuencial calls, order change proposal
« Reply #1 on: October 13, 2016, 11:08:32 PM »
Hi,
Maybe you should send this to the mailing list, too. Not everyone has the alerts 'on' in this forum...
Regards,
Miguel Angel

Josep Maria

  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 50
Re: Solve() secuencial calls, order change proposal
« Reply #2 on: October 14, 2016, 05:43:16 PM »
Thank you for your advise. Before changing anything I will ask the same in the mailing list.
However I would prefer to discuss it here than in the mailing list, because after a crossing of emails the understanding is almost impossible.

BR
Josep Maria