Commit f2e37e66 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Fix warnings.

parent c49d32fa
......@@ -86,7 +86,6 @@ namespace HappyHeart
* \param[in] vectorial_unknown Vectorial unknown considered (should be a displacement).
* \param[in] geom_mesh_region_dimension Dimension in the geometric mesh region.
* Must be equal or higher than felt_space_dimension.
* \param[in] solid Object which provides the required material parameters for the solid.
* \param[in] time_manager Time manager need for Viscoelasticity and Active Stress.
* \param[in] input_active_stress_policy Object required only for Active Stress to compute U0 and U1 locally.
* \copydoc doxygen_hide_quadrature_rule_per_topology_nullptr_arg
......@@ -94,7 +93,6 @@ namespace HappyHeart
explicit SolidDeltaResidual(const FEltSpace& felt_space,
const Unknown& vectorial_unknown,
unsigned int geom_mesh_region_dimension,
const Solid& solid,
const HyperelasticLawT& hyperelastic_law,
QuadratureRulePerTopology::const_unique_ptr&& quadrature_rule_per_topology = nullptr);
......
......@@ -29,7 +29,6 @@ namespace HappyHeart
::SolidDeltaResidual(const FEltSpace& felt_space,
const Unknown& vectorial_unknown,
unsigned int geom_mesh_region_dimension,
const Solid& solid,
const HyperelasticLawT& hyperelastic_law,
QuadratureRulePerTopology::const_unique_ptr&& quadrature_rule_per_topology)
: parent(felt_space,
......@@ -38,7 +37,6 @@ namespace HappyHeart
std::move(quadrature_rule_per_topology),
AllocateGradientFEltPhi::yes,
DoComputeProcessorWiseLocal2Global::yes,
solid,
hyperelastic_law)
{
assert(vectorial_unknown.GetNature() == UnknownNS::Nature::vectorial);
......
......@@ -352,7 +352,6 @@ namespace HappyHeart
std::make_unique<type>(felt_space,
solid_disp,
mesh_dimension,
variable_holder_parent::GetVariableHolder().GetSolid(),
GetHyperelasticLaw());
}
......
......@@ -119,7 +119,6 @@ namespace HappyHeart
* is due to constraints from genericity; for current operator it is expected to hold exactly
* one vectorial unknown (as long as #7 is not implemented at the very least...)
* \param[in] elementary_data Elementary matrices and vectors that will perform the calculations.
* \param[in] solid Object which provides the required material parameters for the solid.
* \param[in] hyperelastic_law The hyperelastic law if there is an hyperelastic part in the operator,
* or nullptr otherwise. Example of hyperelasticlaw is HappyHeart::HyperelasticLawNS::CiarletGeymonat.
*
......@@ -128,7 +127,6 @@ namespace HappyHeart
*/
explicit SolidDeltaResidual(const ExtendedUnknown::vector_const_shared_ptr& unknown_list,
elementary_data_type&& elementary_data,
const Solid& solid,
const HyperelasticLawT& hyperelastic_law);
//! Destructor.
......@@ -187,7 +185,6 @@ namespace HappyHeart
*/
void PrepareInternalDataForQuadraturePoint(const InformationsAtQuadraturePoint& infos_at_quad_pt,
const GeometricElt& geom_elt,
const Advanced::RefFEltInLocalOperator& ref_felt,
const std::vector<double>& local_displacement,
const unsigned int mesh_dimension);
......@@ -204,7 +201,6 @@ namespace HappyHeart
template<unsigned int DimensionT>
void PrepareInternalDataForQuadraturePointForDimension(const InformationsAtQuadraturePoint& infos_at_quad_pt,
const GeometricElt& geom_elt,
const Advanced::RefFEltInLocalOperator& ref_felt,
const std::vector<double>& local_displacement);
private:
......
......@@ -41,7 +41,6 @@ namespace HappyHeart
SolidDeltaResidual<HyperelasticLawT>
::SolidDeltaResidual(const ExtendedUnknown::vector_const_shared_ptr& unknown_list,
elementary_data_type&& a_elementary_data,
const Solid& solid,
const HyperelasticLawT& hyperelastic_law)
: parent(unknown_list, std::move(a_elementary_data)),
matrix_parent(),
......@@ -154,7 +153,6 @@ namespace HappyHeart
PrepareInternalDataForQuadraturePoint(infos_at_quad_pt,
geom_elt,
elementary_data.GetRefFElt(this->GetNthUnknown()),
local_displacement,
mesh_dimension);
......@@ -248,7 +246,6 @@ namespace HappyHeart
void SolidDeltaResidual<HyperelasticLawT>
::PrepareInternalDataForQuadraturePoint(const InformationsAtQuadraturePoint& infos_at_quad_pt,
const GeometricElt& geom_elt,
const Advanced::RefFEltInLocalOperator& ref_felt,
const std::vector<double>& local_displacement,
const unsigned int mesh_dimension)
{
......@@ -258,7 +255,6 @@ namespace HappyHeart
{
this->PrepareInternalDataForQuadraturePointForDimension<2>(infos_at_quad_pt,
geom_elt,
ref_felt,
local_displacement);
break;
}
......@@ -266,7 +262,6 @@ namespace HappyHeart
{
this->PrepareInternalDataForQuadraturePointForDimension<3>(infos_at_quad_pt,
geom_elt,
ref_felt,
local_displacement);
break;
}
......@@ -318,7 +313,6 @@ namespace HappyHeart
void SolidDeltaResidual<HyperelasticLawT>
::PrepareInternalDataForQuadraturePointForDimension(const InformationsAtQuadraturePoint& infos_at_quad_pt,
const GeometricElt& geom_elt,
const Advanced::RefFEltInLocalOperator& ref_felt,
const std::vector<double>& local_displacement)
{
auto& transposed_dphi = this->matrix_parent::template GetLocalMatrix<EnumUnderlyingType(LocalMatrixIndex::transposed_dphi)>();
......@@ -339,7 +333,7 @@ namespace HappyHeart
cauchy_green_tensor.Update(gradient_displacement);
auto& derivative_green_lagrange = GetNonCstDerivativeGreenLagrange();
const auto& De = derivative_green_lagrange.Update(gradient_displacement);
derivative_green_lagrange.Update(gradient_displacement);
const auto& transposed_De = derivative_green_lagrange.GetTransposed();
// double pressure_value = -99;
......
......@@ -111,7 +111,6 @@ namespace HappyHeart
decltype(auto) fluid_mesh = fluid_god_of_dof.GetGeometricMeshRegion();
decltype(auto) solid_mesh = solid_god_of_dof.GetGeometricMeshRegion();
decltype(auto) unknown_manager = UnknownManager::GetInstance();
decltype(auto) time_manager = parent::GetTimeManager();
{
decltype(auto) numbering_subset =
......
......@@ -69,8 +69,6 @@ namespace HappyHeart
{
static_cast<void>(input_parameter_data);
const auto& geometric_mesh_region = this->GetGodOfDof().GetGeometricMeshRegion();
if (!GetSolid().template GetParameter<Solid::param::volumic_mass>().IsConstant())
throw Exception("Current hyperelastic model is restricted to a constant volumic mass!",
__FILE__, __LINE__);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment