Skip to content
Snippets Groups Projects
Commit 6f3998d4 authored by wenqing's avatar wenqing
Browse files

[Test] Added an assert to the dimension of permeability tensor and

rebased the data repository.
parent e043990b
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,10 @@ void LiquidFlowLocalAssembler<ShapeFunction, IntegrationMethod, GlobalDim>:: ...@@ -47,6 +47,10 @@ void LiquidFlowLocalAssembler<ShapeFunction, IntegrationMethod, GlobalDim>::
const Eigen::MatrixXd& perm = const Eigen::MatrixXd& perm =
_material_properties.intrinsic_permeabiliy[mat_id]; _material_properties.intrinsic_permeabiliy[mat_id];
// Note: For Inclined 1D in 2D/3D or 2D element in 3D, the first item in
// the assert must be changed to perm.rows() == _element->getDimension()
assert(perm.rows() == GlobalDim || perm.rows() == 1);
// TODO: The following two variables should be calculated inside the // TODO: The following two variables should be calculated inside the
// the integration loop for non-constant porosity and storage models. // the integration loop for non-constant porosity and storage models.
double porosity_variable = 0.; double porosity_variable = 0.;
......
Subproject commit a4b3ec0e41dbc4365025f98c1810a9986f3c1f28 Subproject commit 80398320e2bc58005283f31b32dba67cd748e903
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