Commit 5571eb88 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

DamageAssembler: Remove argument 'Basis'

It is never used.
parent f9ea0c46
Pipeline #8669 canceled with stage
......@@ -209,9 +209,7 @@ namespace Dune::FracturePhasefields
auto positiveElasticEnergyFunction = Functions::makeComposedGridFunction(positiveElasticEnergyDensity_, std::ref(jetFunction));
DamageAssembler<Basis,decltype(positiveElasticEnergyFunction)> localDamageAssembler(basis_,
positiveElasticEnergyFunction,
crackSurfaceDensity_);
DamageAssembler localDamageAssembler(positiveElasticEnergyFunction, crackSurfaceDensity_);
auto damageOperatorAssembler = Fufem::DuneFunctionsOperatorAssembler(damageBasis, damageBasis);
auto damageFunctionalAssembler = Fufem::DuneFunctionsFunctionalAssembler(damageBasis);
......
......@@ -20,7 +20,7 @@ namespace Dune::FracturePhasefields
/** \brief Local assembler for the damage problem
*/
template <class Basis, class ElasticEnergyDensityFunction>
template <class ElasticEnergyDensityFunction>
class DamageAssembler
{
FracturePhasefields::CrackSurfaceDensity crackSurfaceDensity_;
......@@ -29,8 +29,7 @@ namespace Dune::FracturePhasefields
public:
DamageAssembler(const Basis& basis,
const ElasticEnergyDensityFunction& positiveElasticEnergyDensity,
DamageAssembler(const ElasticEnergyDensityFunction& positiveElasticEnergyDensity,
const CrackSurfaceDensity& crackSurfaceDensity)
: crackSurfaceDensity_(crackSurfaceDensity)
, positiveElasticEnergyDensity_(positiveElasticEnergyDensity)
......
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