diff --git a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp index fd5ba4b532579916ef426a52254a19c634294e05..cad035eefd8634bd28f028a2ba6d5c6663f54360 100644 --- a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp +++ b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp @@ -331,18 +331,18 @@ void RichardsMechanicsProcess<DisplacementDim>:: } template <int DisplacementDim> -void RichardsMechanicsProcess<DisplacementDim>::preTimestepConcreteProcess( +void RichardsMechanicsProcess<DisplacementDim>::postTimestepConcreteProcess( std::vector<GlobalVector*> const& x, double const t, double const dt, const int process_id) { - DBUG("PreTimestep RichardsMechanicsProcess."); + DBUG("PostTimestep RichardsMechanicsProcess."); if (hasMechanicalProcess(process_id)) { ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; GlobalExecutor::executeSelectedMemberOnDereferenced( - &LocalAssemblerIF::preTimestep, _local_assemblers, + &LocalAssemblerIF::postTimestep, _local_assemblers, pv.getActiveElementIDs(), *_local_to_global_index_map, *x[process_id], t, dt); } diff --git a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.h b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.h index c50b236dc46ad951c7ff5a251d9977681539eccb..c639fa15ea8c27c27f08fd8152e8eec504eaf9c2 100644 --- a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.h +++ b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.h @@ -84,7 +84,7 @@ private: int const process_id, GlobalMatrix& M, GlobalMatrix& K, GlobalVector& b, GlobalMatrix& Jac) override; - void preTimestepConcreteProcess(std::vector<GlobalVector*> const& x, + void postTimestepConcreteProcess(std::vector<GlobalVector*> const& x, double const t, double const dt, const int process_id) override;