Skip to content

Commit

Permalink
IGA SupportLagrangeCondition missings
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenzorrilla committed Apr 7, 2023
1 parent d27082e commit 8de741f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace Kratos
// Integration
const typename GeometryType::IntegrationPointsArrayType& integration_points = r_geometry.IntegrationPoints();

// Determinant of jacobian
// Determinant of jacobian
// Determine the integration: conservative -> initial; non-conservative -> current
Vector determinant_jacobian_vector(integration_points.size());
const bool integrate_conservative = GetProperties().Has(INTEGRATE_CONSERVATIVE)
Expand All @@ -61,7 +61,7 @@ namespace Kratos
for (IndexType point_number = 0; point_number < integration_points.size(); point_number++)
{
// Differential area, being 1 for points.
const double integration = (r_geometry.Dimension() == 0)
const double integration = (r_geometry.LocalSpaceDimension() == 0)
? 1
: integration_points[point_number].Weight() * determinant_jacobian_vector[point_number];

Expand Down

0 comments on commit 8de741f

Please sign in to comment.