diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2007-05-30 19:21:11 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2007-05-30 19:21:11 +0000 |
commit | db06906eac989a21750d18ce27c5893746338ae2 (patch) | |
tree | 102d84da11c449666d75b924fd3a9e76cca6f80e /cad/netgen/files/patch-ngsolve_comp_postproc.cpp | |
parent | 37218fa383803da3e42e01554f7514157e0e37f3 (diff) | |
download | ports-db06906eac989a21750d18ce27c5893746338ae2.tar.gz ports-db06906eac989a21750d18ce27c5893746338ae2.zip |
Notes
Diffstat (limited to 'cad/netgen/files/patch-ngsolve_comp_postproc.cpp')
-rw-r--r-- | cad/netgen/files/patch-ngsolve_comp_postproc.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cad/netgen/files/patch-ngsolve_comp_postproc.cpp b/cad/netgen/files/patch-ngsolve_comp_postproc.cpp new file mode 100644 index 000000000000..551ae710c376 --- /dev/null +++ b/cad/netgen/files/patch-ngsolve_comp_postproc.cpp @@ -0,0 +1,21 @@ +--- ngsolve/comp/postproc.cpp.orig ++++ ngsolve/comp/postproc.cpp +@@ -9,6 +9,7 @@ + */ + + #include <comp.hpp> ++#include <fem.hpp> + + namespace ngcomp + { +@@ -274,8 +275,8 @@ + if (dimflux > 1) + { + FlatMatrix<SCAL> elmat(dnumsflux.Size(), lh); +- dynamic_cast<const BlockBilinearFormIntegrator&> (fluxbli) +- . Block() . AssembleElementMatrix (felflux, eltrans, elmat, lh); ++ BlockBilinearFormIntegrator const& fluxbli_ref = dynamic_cast<const BlockBilinearFormIntegrator&> (fluxbli); ++ fluxbli_ref . Block() . AssembleElementMatrix (felflux, eltrans, elmat, lh); + CholeskyFactors<SCAL> invelmat(elmat); + + FlatVector<SCAL> hv1(dnumsflux.Size(), lh); |