81// Computes adsorption simulation over all the elements.
82void SorptionDual::update_solution(void)
83{
84 data_.set_time(*time_); // set to the last computed time
85 immob_porosity_.set_time(*time_);
86
87 //if parameters changed during last time step, reinit isotherms and eventualy update interpolation tables in the case of constant rock matrix parameters
88 if(data_.changed()
89 || immob_porosity_.changed()
90 )
91 make_tables();
92
93 START_TIMER("SorptionDual");
94 for (int loc_el = 0; loc_el < distribution->lsize(); loc_el++)