diff --git a/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp b/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp index 3a1bcd5fd4ebd6b939fbe6a9cf2ae808848fb92b..d4c754e77163e3012a26a86db1704b0a00b13914 100644 --- a/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp +++ b/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp @@ -247,12 +247,9 @@ void HydroMechanicsProcess<DisplacementDim>::initializeConcreteProcess( MeshLib::MeshItemType::Node, 1); // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/PhaseField/PhaseFieldProcess.cpp b/ProcessLib/PhaseField/PhaseFieldProcess.cpp index 6465ed380f865ecb792c75482c3fa15cc82c0889..cd92d295f40c0e321df91725a61828e6b1fea7d1 100644 --- a/ProcessLib/PhaseField/PhaseFieldProcess.cpp +++ b/ProcessLib/PhaseField/PhaseFieldProcess.cpp @@ -142,12 +142,9 @@ void PhaseFieldProcess<DisplacementDim>::initializeConcreteProcess( &LocalAssemblerInterface::getIntPtEpsilon)); // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp index 5378d63831ec2307c92200e5c4521e69dcc6a1bb..1de8b423d0ced9c624b739f64eac67e670c867ef 100644 --- a/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp +++ b/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp @@ -203,12 +203,9 @@ void RichardsMechanicsProcess<DisplacementDim>::initializeConcreteProcess( MeshLib::MeshItemType::Node, 1); // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp index a79e050820e88363d0c6ddba962e95e9de06f0f5..095302459ac8336d3e7d075c06f7ee1cb95d0848 100644 --- a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp +++ b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp @@ -233,12 +233,9 @@ void SmallDeformationProcess<DisplacementDim>::initializeConcreteProcess( } // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/SmallDeformationNonlocal/SmallDeformationNonlocalProcess.cpp b/ProcessLib/SmallDeformationNonlocal/SmallDeformationNonlocalProcess.cpp index 9a2c8d174a7e13d01d774b395e1b82ed0121adc0..6f17af718df6bbb56954e4829a2b51216ee30eaa 100644 --- a/ProcessLib/SmallDeformationNonlocal/SmallDeformationNonlocalProcess.cpp +++ b/ProcessLib/SmallDeformationNonlocal/SmallDeformationNonlocalProcess.cpp @@ -225,12 +225,9 @@ void SmallDeformationNonlocalProcess<DisplacementDim>:: } // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/ThermoHydroMechanics/ThermoHydroMechanicsProcess.cpp b/ProcessLib/ThermoHydroMechanics/ThermoHydroMechanicsProcess.cpp index 9cab4ed92ff01d129cb42c0e64c897cc3ba30ee4..823ab71831a21aa260b3adb4bc266c2395080b3c 100644 --- a/ProcessLib/ThermoHydroMechanics/ThermoHydroMechanicsProcess.cpp +++ b/ProcessLib/ThermoHydroMechanics/ThermoHydroMechanicsProcess.cpp @@ -204,12 +204,9 @@ void ThermoHydroMechanicsProcess<DisplacementDim>::initializeConcreteProcess( MeshLib::MeshItemType::Node, 1); // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp b/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp index bb006dc5c263638827e4006525cbabe18344b0f4..2a1ec6a1c7c3a22e2018d183025b3c06ffb01ebe 100644 --- a/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp +++ b/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp @@ -163,12 +163,9 @@ void ThermoMechanicalPhaseFieldProcess<DisplacementDim>:: getIntPtHeatFlux)); // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim> diff --git a/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp b/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp index 55901ee6618c6d49c2c41fa606c754acf27dab89..444684c24585ad9d60c6df9d68e2786774ee3617 100644 --- a/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp +++ b/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp @@ -250,12 +250,9 @@ void ThermoMechanicsProcess<DisplacementDim>::initializeConcreteProcess( } // Initialize local assemblers after all variables have been set. - const int process_id = 0; - ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; - - GlobalExecutor::executeSelectedMemberOnDereferenced( + GlobalExecutor::executeMemberOnDereferenced( &LocalAssemblerInterface::initialize, _local_assemblers, - pv.getActiveElementIDs(), *_local_to_global_index_map); + *_local_to_global_index_map); } template <int DisplacementDim>