version 3.11-dev
Loading...
Searching...
No Matches
cvfegridfunction.hh File Reference

Minimal Dune-Functions-compatible wrapper around a CVFE element solution for use with Dumux::IO::GridWriter at higher interpolation orders. More...

Go to the source code of this file.

Description

Usage example:

GridWriter writer{Format::vtu, gridView, order<3>};
writer.setPointField("velocity", Dumux::IO::cvfeGridFunction(gridGeometry, x));
auto cvfeGridFunction(const GridGeometry &gg, const SolutionVector &sol)
Convenience factory function for CVFEGridFunction.
Definition cvfegridfunction.hh:103

The returned object satisfies GridFormat::Dune::Concepts::Function<GridView>:

  • localFunction(f) returns a local function object
  • local function has bind(element) and operator()(LocalCoordinate)

Classes

class  Dumux::IO::CVFEGridFunction< GridGeometry, SolutionVector >
 Thin dune-functions-compatible wrapper for a CVFE grid function. More...
class  Dumux::IO::CVFEGridFunction< GridGeometry, SolutionVector >::LocalFunction
 The local function type satisfying the dune-functions local function concept. More...

Namespaces

namespace  Dumux
namespace  Dumux::IO

Functions

template<class GridGeometry, class SolutionVector>
auto Dumux::IO::cvfeGridFunction (const GridGeometry &gg, const SolutionVector &sol)
 Convenience factory function for CVFEGridFunction.