Skip to content
Snippets Groups Projects
Commit a684d451 authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[LiquidFlow] Replaced dimension with space dimension in

LiquidProcess.cpp
parent 70336228
No related branches found
No related tags found
No related merge requests found
...@@ -55,15 +55,17 @@ void LiquidFlowProcess::initializeConcreteProcess( ...@@ -55,15 +55,17 @@ void LiquidFlowProcess::initializeConcreteProcess(
{ {
const int process_id = 0; const int process_id = 0;
ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0]; ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0];
int const mesh_space_dimension = _process_data.mesh_space_dimension;
ProcessLib::createLocalAssemblers<LiquidFlowLocalAssembler>( ProcessLib::createLocalAssemblers<LiquidFlowLocalAssembler>(
mesh.getDimension(), mesh.getElements(), dof_table, mesh_space_dimension, mesh.getElements(), dof_table,
pv.getShapeFunctionOrder(), _local_assemblers, pv.getShapeFunctionOrder(), _local_assemblers,
mesh.isAxiallySymmetric(), integration_order, _process_data); mesh.isAxiallySymmetric(), integration_order, _process_data);
_secondary_variables.addSecondaryVariable( _secondary_variables.addSecondaryVariable(
"darcy_velocity", "darcy_velocity",
makeExtrapolator( makeExtrapolator(
mesh.getDimension(), getExtrapolator(), _local_assemblers, mesh_space_dimension, getExtrapolator(), _local_assemblers,
&LiquidFlowLocalAssemblerInterface::getIntPtDarcyVelocity)); &LiquidFlowLocalAssemblerInterface::getIntPtDarcyVelocity));
} }
......
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