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