Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Jan 30, 2025
1 parent b7dcad5 commit 3b0ea1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreComponents/physicsSolvers/PhysicsSolverBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1007,8 +1007,8 @@ class PhysicsSolverBase : public ExecutableGroup
* @param subRegion the element subregion on which the constitutive model is registered.
* @return the constitutive model of type @p CONSTITUTIVE_TYPE registered on the @p subRegion.
*/
template< typename CONSTITUTIVE_TYPE>
static BASETYPE const & getConstitutiveModel( ElementSubRegionBase const & subRegion )
template< typename CONSTITUTIVE_TYPE >
static CONSTITUTIVE_TYPE const & getConstitutiveModel( ElementSubRegionBase const & subRegion )
{
return getConstitutiveModel< CONSTITUTIVE_TYPE >( subRegion, getConstitutiveName< BASETYPE >( subRegion ) );
}
Expand All @@ -1020,7 +1020,7 @@ class PhysicsSolverBase : public ExecutableGroup
* @return the constitutive model of type @p CONSTITUTIVE_TYPE registered on the @p subRegion.
*/
template< typename CONSTITUTIVE_TYPE >
static BASETYPE & getConstitutiveModel( ElementSubRegionBase & subRegion )
static CONSTITUTIVE_TYPE & getConstitutiveModel( ElementSubRegionBase & subRegion )
{
return getConstitutiveModel< CONSTITUTIVE_TYPE >( subRegion, getConstitutiveName< CONSTITUTIVE_TYPE >( subRegion ) );
}
Expand Down

0 comments on commit 3b0ea1b

Please sign in to comment.