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

[PL/CT] Add shape matrix cache to process data

parent b68eee2c
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
#include "LookupTable.h"
#include "MaterialLib/MPL/MaterialSpatialDistributionMap.h"
#include "MathLib/LinAlg/Eigen/EigenMapTools.h"
#include "NumLib/Fem/ShapeMatrixCache.h"
#include "NumLib/NumericalStability/NumericalStabilization.h"
#include "ParameterLib/ConstantParameter.h"
#include "ParameterLib/Parameter.h"
......@@ -84,6 +85,9 @@ struct ComponentTransportProcessData
bool const isothermal;
/// caches for each mesh element type the shape matrix
NumLib::ShapeMatrixCache shape_matrix_cache;
static const int hydraulic_process_id = 0;
// Thermal process is optional, indicated by -1. If present, it is positive.
const int thermal_process_id = isothermal ? -1 : 1;
......
......@@ -317,7 +317,7 @@ std::unique_ptr<Process> createComponentTransportProcess(
mesh_space_dimension,
*aperture_size_parameter,
isothermal,
};
NumLib::ShapeMatrixCache{integration_order}};
SecondaryVariableCollection secondary_variables;
......
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