Skip to content
Snippets Groups Projects
Commit c3a80f00 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[ImplicitProblem] Adjust initial() method to new structure

parent 2ed8d6a0
No related branches found
No related tags found
1 merge request!617[WIP] Next
......@@ -428,13 +428,10 @@ public:
* For this method, the \a values parameter stores primary
* variables.
*/
void initial(PrimaryVariables &values,
const Element &element,
const FVElementGeometry &fvGeometry,
const int scvIdx) const
PrimaryVariables initial(const SubControlVolume &scv) const
{
// forward to generic interface
asImp_().initialAtPos(values, fvGeometry.subContVol[scvIdx].global);
return asImp_().initialAtPos(scv.dofPosition());
}
/*!
......@@ -447,8 +444,7 @@ public:
*
* For this method, the \a values parameter stores primary variables.
*/
void initialAtPos(PrimaryVariables &values,
const GlobalPosition &globalPos) const
PrimaryVariables initialAtPos(const GlobalPosition &globalPos) const
{
// Throw an exception (there is no reasonable default value
// for initial values)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment