Skip to content
Snippets Groups Projects
Commit b68eee2c authored by Tom Fischer's avatar Tom Fischer
Browse files

[PL/HT] Rm ref to shape matrix cache from local assemblers

parent 9a6144c5
No related branches found
No related tags found
No related merge requests found
......@@ -50,12 +50,10 @@ public:
NumLib::GenericIntegrationMethod const& integration_method,
bool const is_axially_symmetric,
HTProcessData const& process_data,
NumLib::ShapeMatrixCache const& shape_matrix_cache,
const unsigned dof_per_node)
: HTLocalAssemblerInterface(),
_element(element),
_process_data(process_data),
_shape_matrix_cache(shape_matrix_cache),
_integration_method(integration_method)
{
// This assertion is valid only if all nodal d.o.f. use the same shape
......@@ -169,7 +167,6 @@ public:
protected:
MeshLib::Element const& _element;
HTProcessData const& _process_data;
NumLib::ShapeMatrixCache const& _shape_matrix_cache;
NumLib::GenericIntegrationMethod const& _integration_method;
std::vector<IntegrationPointData<GlobalDimNodalMatrixType>> _ip_data;
......@@ -271,7 +268,7 @@ protected:
auto const& liquid_phase = medium.phase("AqueousLiquid");
auto const& Ns =
_shape_matrix_cache
_process_data.shape_matrix_cache
.NsHigherOrder<typename ShapeFunction::MeshElement>();
for (unsigned ip = 0; ip < n_integration_points; ++ip)
......
......@@ -56,14 +56,14 @@ void HTProcess::initializeConcreteProcess(
ProcessLib::createLocalAssemblers<MonolithicHTFEM>(
mesh_space_dimension, mesh.getElements(), dof_table,
_local_assemblers, NumLib::IntegrationOrder{integration_order},
mesh.isAxiallySymmetric(), _process_data, _shape_matrix_cache);
mesh.isAxiallySymmetric(), _process_data);
}
else
{
ProcessLib::createLocalAssemblers<StaggeredHTFEM>(
mesh_space_dimension, mesh.getElements(), dof_table,
_local_assemblers, NumLib::IntegrationOrder{integration_order},
mesh.isAxiallySymmetric(), _process_data, _shape_matrix_cache);
mesh.isAxiallySymmetric(), _process_data);
}
_secondary_variables.addSecondaryVariable(
......
......@@ -59,12 +59,10 @@ public:
std::size_t const local_matrix_size,
NumLib::GenericIntegrationMethod const& integration_method,
bool is_axially_symmetric,
HTProcessData const& process_data,
NumLib::ShapeMatrixCache const& shape_matrix_cache)
: HTFEM<ShapeFunction, GlobalDim>(element, local_matrix_size,
integration_method,
is_axially_symmetric, process_data,
shape_matrix_cache, NUM_NODAL_DOF)
HTProcessData const& process_data)
: HTFEM<ShapeFunction, GlobalDim>(
element, local_matrix_size, integration_method,
is_axially_symmetric, process_data, NUM_NODAL_DOF)
{
}
......
......@@ -58,11 +58,10 @@ public:
std::size_t const local_matrix_size,
NumLib::GenericIntegrationMethod const& integration_method,
bool is_axially_symmetric,
HTProcessData const& process_data,
NumLib::ShapeMatrixCache const& shape_matrix_cache)
: HTFEM<ShapeFunction, GlobalDim>(
element, local_matrix_size, integration_method,
is_axially_symmetric, process_data, shape_matrix_cache, 1)
HTProcessData const& process_data)
: HTFEM<ShapeFunction, GlobalDim>(element, local_matrix_size,
integration_method,
is_axially_symmetric, process_data, 1)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment