diff --git a/dumux/material/chemistry/electrochemistry/electrochemistry.hh b/dumux/material/chemistry/electrochemistry/electrochemistry.hh index b24b0863fb67edf66f9d1f24eafd1c69bdf30424..3c37d3eeb9f50519755f190e16aaccf274a14b63 100644 --- a/dumux/material/chemistry/electrochemistry/electrochemistry.hh +++ b/dumux/material/chemistry/electrochemistry/electrochemistry.hh @@ -40,7 +40,7 @@ namespace Properties NEW_PROP_TAG(FluidSystem); NEW_PROP_TAG(FVElementGeometry); NEW_PROP_TAG(Indices); -NEW_PROP_TAG(PrimaryVariables); +NEW_PROP_TAG(NumEqVector); NEW_PROP_TAG(VolumeVariables); } @@ -61,7 +61,7 @@ class ElectroChemistry typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, NumEqVector) SourceValues; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; @@ -112,7 +112,7 @@ public: * * For this method, the \a values parameter stores source values */ - static void reactionSource(PrimaryVariables &values, + static void reactionSource(SourceValues &values, Scalar currentDensity) { //correction to account for actually relevant reaction area diff --git a/dumux/material/chemistry/electrochemistry/electrochemistryni.hh b/dumux/material/chemistry/electrochemistry/electrochemistryni.hh index b39211519919a5fa74922e188963cf3488c98bcc..45f96dd4e629742f0a4a1343f8f5d5400d7056da 100644 --- a/dumux/material/chemistry/electrochemistry/electrochemistryni.hh +++ b/dumux/material/chemistry/electrochemistry/electrochemistryni.hh @@ -37,7 +37,7 @@ namespace Properties NEW_PROP_TAG(FluidSystem); NEW_PROP_TAG(Indices); NEW_PROP_TAG(VolumeVariables); -NEW_PROP_TAG(PrimaryVariables); +NEW_PROP_TAG(NumEqVector); } /*! @@ -55,7 +55,7 @@ class ElectroChemistryNI : public ElectroChemistry<TypeTag, electroChemistryMode typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, NumEqVector) SourceValues; typedef Constants<Scalar> Constant; @@ -88,7 +88,7 @@ public: * * For this method, the \a values parameter stores source values */ - static void reactionSource(PrimaryVariables &values, + static void reactionSource(SourceValues &values, Scalar currentDensity) { //correction to account for actually relevant reaction area