version 3.10-dev
loadsolution.hh File Reference

read from a file into a solution vector More...

#include <string>
#include <iostream>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <type_traits>
#include <functional>
#include <dune/common/exceptions.hh>
#include <dune/common/indices.hh>
#include <dune/grid/common/partitionset.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/typetraits/isvalid.hh>
#include <dumux/common/typetraits/vector.hh>
#include <dumux/common/typetraits/state.hh>
#include <dumux/io/vtk/vtkreader.hh>
#include <dumux/discretization/method.hh>
#include <dumux/common/gridcapabilities.hh>

Go to the source code of this file.

Classes

class  Dumux::LoadSolutionDataHandle< Container, EntityMapper, codim >
 a data handle to communicate the solution on ghosts and overlaps when reading from vtk file in parallel More...
 

Namespaces

namespace  Dumux
 

Functions

template<class SolutionVector , class PvNameFunc , class GridGeometry >
auto Dumux::loadSolutionFromVtkFile (SolutionVector &sol, const std::string fileName, PvNameFunc &&targetPvNameFunc, const GridGeometry &gridGeometry, const VTKReader::DataType &dataType) -> typename std::enable_if_t<!decltype(isValid(Detail::hasState())(sol[0]))::value, void >
 read from a vtk file into a solution vector with primary variables without state More...
 
template<class IOFields , class PrimaryVariables , class ModelTraits = void, class FluidSystem = void, class SolidSystem = void>
auto Dumux::createPVNameFunction (const std::string &paramGroup="") -> typename std::enable_if_t< decltype(isValid(Detail::hasState())(PrimaryVariables(0)))::value, std::function< std::string(int, int)> >
 helper function to determine the primary variable names of a model with privar state More...
 
template<class SolutionVector , class PvNameFunc , class GridGeometry >
void Dumux::loadSolution (SolutionVector &sol, const std::string &fileName, PvNameFunc &&targetPvNameFunc, const GridGeometry &gridGeometry)
 load a solution vector from file More...
 
Include dependency graph for loadsolution.hh: