version 3.8
localview.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
13#ifndef DUMUX_LOCAL_VIEW_HH
14#define DUMUX_LOCAL_VIEW_HH
15
16namespace Dumux {
17
25template<class GridCache>
26inline typename GridCache::LocalView localView(const GridCache& gridCache)
27{ return typename GridCache::LocalView(gridCache); }
28
29} // end namespace Dumux
30
31#endif
GridCache::LocalView localView(const GridCache &gridCache)
Free function to get the local view of a grid cache object.
Definition: localview.hh:26
Definition: adapt.hh:17