![]() |
Dune-Fufem 2.12-git
|
Loading...
Searching...
No Matches
writebasis.hh
Go to the documentation of this file.
57 return Dune::Functions::makeISTLVector<double>(basis.rootBasis().preBasis().containerDescriptor());
85 auto basisFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<double>(basis, vectorBackend);
91 auto vtkWriter = Dune::Vtk::UnstructuredGridWriter(Dune::Vtk::DiscontinuousLagrangeDataCollector(basis.gridView(), order));
92 vtkWriter.addPointData(basisFunction, Dune::VTK::FieldInfo("basisfunction", Dune::VTK::FieldInfo::Type::scalar, 1));
122 void writeBasis(const Basis& basis, std::string name, const Constraints& constraints, int order = -1)
127 return Dune::Functions::makeISTLVector<double>(basis.rootBasis().preBasis().containerDescriptor());
155 auto basisFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<double>(basis, vectorBackend);
163 auto vtkWriter = Dune::Vtk::UnstructuredGridWriter(Dune::Vtk::DiscontinuousLagrangeDataCollector(basis.gridView(), order));
164 vtkWriter.addPointData(basisFunction, Dune::VTK::FieldInfo("basisfunction", Dune::VTK::FieldInfo::Type::scalar, 1));
const char * name()
static std::string formatString(const std::string &s, const T &... args)
void forEachLeafNode(Tree &&tree, LeafFunc &&leafFunc)
T forward(T... args)
void writeBasis(const Basis &basis, std::string name, int order=-1)
Write basis functions as vtk-sequence.
Definition writebasis.hh:52
auto istlVectorBackend(Vector &v)
Definition dunefunctionsboundaryfunctionalassembler.hh:29
