1. 27 Sep, 2021 2 commits
  2. 15 Sep, 2021 6 commits
    • Marcus Mohr's avatar
      Merge branch 'mohr/BlockFunctionToVector-mc' into 'master' · 11984379
      Marcus Mohr authored
      Implements PETSc vector <-> function conversion for Block/GenericFunction
      See merge request !447
    • Marcus Mohr's avatar
      Small updates after rebase due to changes in FaceDoFFunction · 7726785a
      Marcus Mohr authored
      For completeness we commit also adds a new fule FaceDoFPetsc.hpp.
      Like DGPetsc.hpp it only contains dummy implementations for
      - createVectorFromFunction()
      - createFunctionFromVector()
    • Marcus Mohr's avatar
      Renames two typedefs in SingleRowIntegrationTest · 208b8d08
      Marcus Mohr authored
      Opposed to the library entities themselves the functions and objects
      in our tests are usually not in the hyteg namespace. This generated a
      problem (shadowing warning) for MatType used both by PETSc and inside
      a function in SingleRowIntegrationTest. Commit changes the name and its
      sibling RowType in the typedefs.
    • Marcus Mohr's avatar
      Updates to Generic/BlockFunctionPetsc.hpp · df2e2614
      Marcus Mohr authored
      Commit wraps implementation in HYTEG_BUILD_WITH_PETSC macro guards.
    • 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.
    • 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.
  3. 19 Aug, 2021 1 commit
  4. 18 Aug, 2021 5 commits
  5. 17 Aug, 2021 7 commits
  6. 16 Aug, 2021 13 commits
  7. 15 Aug, 2021 1 commit
  8. 13 Aug, 2021 5 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.
    • 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.
    • 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()
    • 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.
    • 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