1. 18 Aug, 2021 3 commits
  2. 17 Aug, 2021 7 commits
  3. 16 Aug, 2021 13 commits
  4. 15 Aug, 2021 1 commit
  5. 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
  6. 12 Aug, 2021 2 commits
  7. 11 Aug, 2021 3 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
    • Marcus Mohr's avatar
      Implements PETScVector conversions for P[1,2]VectorFunction · c0a0ed75
      Marcus Mohr authored
      In detail we can now call the following free functions using objects
      of type P[1,2]VectorFunction
      - createVectorFromFunction()
      - createFunctionFromVector()
      - applyDirichletBC()
      
      Commit also adds a simple VectorFunctionPetscTest that checks that
      conversion to and from works.
      
      We also rename the first argument of createFunctionFromVector() in
      PETScVector from src to dst, as this seems more self-explanatory.
      c0a0ed75
  8. 09 Aug, 2021 5 commits
    • Marcus Mohr's avatar
      Merge branch 'mohr/enumerator-mc' into 'master' · 464922c5
      Marcus Mohr authored
      Implements enumerate() for Vector and BlockFunctions
      
      See merge request !441
      464922c5
    • Marcus Mohr's avatar
      Fixes to make BlockFunction::enumerate() compile in all cases · d61d9b0e
      Marcus Mohr authored
      Commit
      - makes EdgeDoFFunction::enumerate() public
      - adds inclusion of FunctionProperties.hpp in BlockFunction.hpp
      - performs a hotfix in DGFunction class, as there was an inconsistency
        between uint_t and ValueType (low level implementation in DGVertex,
        DGEdge and DGFace expects to receive uint_t, but was passed ValueType,
        which fails e.g. for double)
      d61d9b0e
    • Marcus Mohr's avatar
      Implements member function BlockFunction::enumerate() · 0f899882
      Marcus Mohr authored
      In order to implement enumerate for the BlockFunction class, we needed
      to also implement enumerate( level, offset ) in the GenericFunction and
      the FunctionWrapper class.
      
      Commit extends BlockFunctionBasicTest to check enumeration works for the
      case of a P2P1TaylorHoodBlockFunction.
      0f899882
    • Marcus Mohr's avatar
      Adds BlockFunction::getNumberOfLocalDoFs() · 8c97483a
      Marcus Mohr authored
      Commit adds a new member function to the BlockFunction class and a new
      specialisation for P2P1TaylorHoodBlockFunctionTag of the numberOfLocalDoFs
      free function. The latter is used to test the new member function in
      BlockFunctionBasicTest.
      8c97483a
    • Marcus Mohr's avatar
      Implements CSFVectorFunction::enumerate() member functions · 86dd786e
      Marcus Mohr authored
      The commit brings two versions of enumerate() for the CFSVectorFunction
      class. The first one performs a global enumeration which implies MPI
      communication. The other version just performs local operations and
      receives an offset for starting the indexing.
      
      We extend VectorFunctionBasicTest to test enumerating.
      
      In order to get enumerate working for P1VectorFunction<int>, the commit
      makes enumerate() with offset public in VertexDoFFunction.
      86dd786e