Skip to content

Commit

Permalink
doxy
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 32b64d5 commit b7dcad5
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/coreComponents/physicsSolvers/PhysicsSolverBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,26 +1004,25 @@ class PhysicsSolverBase : public ExecutableGroup
/**
* @brief Get the Constitutive Model object
* @tparam BASETYPE the base type of the constitutive model.
* @param @param subRegion the element subregion on which the constitutive model is registered.
* @return the constitutive model of type @p BASETYPE registered on the @p subRegion.
* @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 BASETYPE = constitutive::ConstitutiveBase >
template< typename CONSTITUTIVE_TYPE>
static BASETYPE const & getConstitutiveModel( ElementSubRegionBase const & subRegion )
{
return getConstitutiveModel< BASETYPE >( subRegion, getConstitutiveName< BASETYPE >( subRegion ) );
return getConstitutiveModel< CONSTITUTIVE_TYPE >( subRegion, getConstitutiveName< BASETYPE >( subRegion ) );
}

/**
* @brief Get the Constitutive Model object
* @tparam BASETYPE the base type of the constitutive model.
* @param @param subRegion the element subregion on which the constitutive model is registered.
* @return the constitutive model of type @p BASETYPE registered on the @p subRegion.
* @tparam CONSTITUTIVE_TYPE the base type of the constitutive model.
* @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 BASETYPE = constitutive::ConstitutiveBase >
template< typename CONSTITUTIVE_TYPE >
static BASETYPE & getConstitutiveModel( ElementSubRegionBase & subRegion )
{
string const name = getConstitutiveName< BASETYPE >( subRegion );
return getConstitutiveModel< BASETYPE >( subRegion, name );
return getConstitutiveModel< CONSTITUTIVE_TYPE >( subRegion, getConstitutiveName< CONSTITUTIVE_TYPE >( subRegion ) );
}


Expand Down

0 comments on commit b7dcad5

Please sign in to comment.