Skip to content

Commit

Permalink
[PL/SD] Move SD-specific MaterialForces.h
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Oct 17, 2023
1 parent 19867ce commit 69bbd6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ProcessLib/SmallDeformation/LocalAssemblerInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#include "ConstitutiveRelations/ConstitutiveData.h"
#include "ConstitutiveRelations/ConstitutiveSetting.h"
#include "ConstitutiveRelations/MaterialState.h"
#include "MaterialForces.h"
#include "MaterialLib/SolidModels/MechanicsBase.h"
#include "MaterialLib/SolidModels/SelectSolidConstitutiveRelation.h"
#include "NumLib/Extrapolation/ExtrapolatableElement.h"
#include "NumLib/Fem/Integration/GenericIntegrationMethod.h"
#include "ProcessLib/Deformation/MaterialForces.h"
#include "ProcessLib/LocalAssemblerInterface.h"
#include "ProcessLib/Reflection/ReflectionSetIPData.h"
#include "ProcessLib/Utils/SetOrGetIntegrationPointData.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* \file
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
Expand Down Expand Up @@ -182,7 +181,8 @@ void writeMaterialForces(
LocalAssemblerInterface& local_assembler,
const NumLib::LocalToGlobalIndexMap& dof_table,
GlobalVector const& x,
GlobalVector& node_values) {
GlobalVector& node_values)
{
auto const indices = NumLib::getIndices(mesh_item_id, dof_table);
std::vector<double> local_data;
auto const local_x = x.get(indices);
Expand Down

0 comments on commit 69bbd6f

Please sign in to comment.