ProcessLib/LiquidFlow/LiquidFlowProcess.cpp
// this is almost a copy of the implementation in the GroundwaterFlow
this is almost a copy of the implementation in the GroundwaterFlow
this is almost a copy of the implementation in the GroundwaterFlow
void LiquidFlowProcess::postTimestepConcreteProcess(
    std::vector<GlobalVector*> const& x,
    const double t,
    const double ,
    int const process_id)
{
    if (!_surfaceflux)  
    {
        return;
    }
    ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0];
    _surfaceflux->integrate(x, t, *this, process_id, _integration_order, _mesh,
                            pv.getActiveElementIDs());
    _surfaceflux->save(t);
}
void LiquidFlowProcess :: postTimestepConcreteProcess ( std :: vector < GlobalVector * > const & x , const double t , const double , int const process_id ) { if ( ! _surfaceflux ) { return ; } ProcessLib :: ProcessVariable const & pv = getProcessVariables ( process_id ) [ 0 ] ; _surfaceflux -> integrate ( x , t , * this , process_id , _integration_order , _mesh , pv . getActiveElementIDs ( ) ) ; _surfaceflux -> save ( t ) ; }
this is almost a copy of the implementation in the GroundwaterFlow
this is almost a copy of the implementation in the GroundwaterFlow
/*dt*/ // computing the surfaceflux is optional