1. 28 Sep, 2021 1 commit
  2. 27 Sep, 2021 5 commits
  3. 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
      11984379
    • 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()
      7726785a
    • 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.
      208b8d08
    • 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
  4. 19 Aug, 2021 1 commit
  5. 18 Aug, 2021 5 commits
  6. 17 Aug, 2021 7 commits
  7. 16 Aug, 2021 13 commits
  8. 15 Aug, 2021 1 commit
  9. 13 Aug, 2021 1 commit
    • 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