Commit df2e2614 authored by Marcus Mohr's avatar Marcus Mohr
Browse files

Updates to Generic/BlockFunctionPetsc.hpp

Commit wraps implementation in HYTEG_BUILD_WITH_PETSC macro guards.
parent 39eb1612
......@@ -28,6 +28,7 @@
#include "hyteg/sparseassembly/VectorProxy.hpp"
#include "hyteg/types/flags.hpp"
#ifdef HYTEG_BUILD_WITH_PETSC
namespace hyteg {
namespace petsc {
......@@ -55,3 +56,4 @@ inline void createFunctionFromVector( const BlockFunction< PetscReal >& functi
} // namespace petsc
} // namespace hyteg
#endif
......@@ -27,6 +27,7 @@
#include "hyteg/sparseassembly/VectorProxy.hpp"
#include "hyteg/types/flags.hpp"
#ifdef HYTEG_BUILD_WITH_PETSC
namespace hyteg {
namespace petsc {
......@@ -50,3 +51,4 @@ inline void createFunctionFromVector( const GenericFunction< PetscReal >& func
} // namespace petsc
} // namespace hyteg
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment