1. 15 Sep, 2021 3 commits
    • Marcus Mohr's avatar
      Updates to Generic/BlockFunctionPetsc.hpp · df2e2614
      Marcus Mohr authored
      Commit wraps implementation in HYTEG_BUILD_WITH_PETSC macro guards.
      df2e2614
    • Marcus Mohr's avatar
      Implements PETSc vector <-> function conversion for BlockFunction · 39eb1612
      Marcus Mohr authored
      The commit introduces implementations for two free functions
      - createVectorFromFunction()
      - createFunctionFromVector()
      for arguments of type BlockFunction< PetscReal >.
      
      BlockFunctionBasicTest gets extended to check that compilation and
      execution works.
      39eb1612
    • Marcus Mohr's avatar
      Implements PETSc vector <-> function conversion for GenericFunction · 068368aa
      Marcus Mohr authored
      The commit introduces implementations of
      - createVectorFromFunction()
      - createFunctionFromVector()
      for functions of type GenericFunction< PetscReal >.
      
      The two free functions reside in the new file GenericFunctionPetsc.hpp.
      Because of the peculiarities of GenericFunctions these free functions
      are, however, only wrappers that call the corresponding one of the two
      new member functions
      - GenericFunction::toVector()
      - GenericFunction::fromVector()
      As usual these are pure virtual and the actual work happens inside
      the member functions of the FunctionWrapper class.
      
      We extend the FunctionWrapperTest to check compilation and execution
      for various kinds of wrapped functions.
      
      Note that due to instantiation requirements the commit also implements
      - createVectorFromFunction()
      - createFunctionFromVector()
      for functions of type DGFunction. However, these implementations are
      pseudo only and will abort.
      068368aa
  2. 19 Aug, 2021 1 commit
  3. 18 Aug, 2021 5 commits
  4. 17 Aug, 2021 7 commits
  5. 16 Aug, 2021 13 commits
  6. 15 Aug, 2021 1 commit
  7. 13 Aug, 2021 6 commits
    • Marcus Mohr's avatar
      Extending capabilities of VTKOutput · 23072e16
      Marcus Mohr authored
      This commit changes VTKOutput so that it export also functions of the
      following kind:
      - P1Function< int32_t >
      - P1Function< int64_t >
      and not only P1Function< double >.
      
      For this we replace the std::vector< P1Function< real_t > > in the class
      by an object of type FunctionMultiStore. This new class allows to store
      multiple functions from the same family, which can but need not differ in
      their value types.
      23072e16
    • Marcus Mohr's avatar
      Small update to VTKP1Writer · 07b9171d
      Marcus Mohr authored
      Opening and closing of <DataArray> element is now handled inside
      writeScalarFunction and writeVectorFunction.
      07b9171d
    • Marcus Mohr's avatar
      Removes two leftover declarations from VTKOuput · 8b049d45
      Marcus Mohr authored
      After recent changes the following two function members of VTKOutput
      had no implementation anymore:
      - writeHeader()
      - writeFooterAndFile()
      8b049d45
    • Marcus Mohr's avatar
      Relocates source files for some tests. · de94eed9
      Marcus Mohr authored
      Commit moves all tests in HyteG/tests/hyteg whose name starts with Function
      as well as teh FindMaxMinMagTest test into a new functions subdirectory.
      de94eed9
    • Marcus Mohr's avatar
      Merge branch 'mohr/longGoodbye' into 'master' · d3ce92d1
      Marcus Mohr authored
      Changing integer types in explicit function instantiation
      
      See merge request !443
      d3ce92d1
    • Marcus Mohr's avatar
      Changing integer types in explicit function instantiation · f2ad9a89
      Marcus Mohr authored
      Commit changes the data types when explicitely requesting instantion of
      - VertexDoFFunction
      - EdgeDoFFunction
      - P2Function
      from int and long to the more explicit and fully specified int32_t and
      int64_t.
      f2ad9a89
  8. 12 Aug, 2021 2 commits
  9. 11 Aug, 2021 2 commits
    • Marcus Mohr's avatar
      Changing template parameters for VectorToVectorOperator class · 1cc5c72c
      Marcus Mohr authored
      Instead of passing two template parameters
      
      - SrcVecFuncType
      - DstVecFuncType
      
      we now use three
      
      - ValueType
      - SrcVecFuncKind
      - DstVecFuncKind
      
      This influences the derived classes, so e.g. we now have
      
      typedef VectorMassOperator< real_t,
                                  P1VectorFunction,
                                  P1ConstantMassOperator >
                                  P1ConstantVectorMassOperator;
      
      instead of the previous
      
      typedef VectorMassOperator< P1VectorFunction< real_t >,
                                  P1ConstantMassOperator >
                                  P1ConstantVectorMassOperator;
      1cc5c72c
    • Marcus Mohr's avatar
      a73f9b1b