diff --git a/Common/GmshMatrix.h b/Common/GmshMatrix.h index f460b383ed9568c5a13ddf41a24f031961cff3b9..78ee5175b5097a3cc8c5f6fc518c5aa63b163169 100644 --- a/Common/GmshMatrix.h +++ b/Common/GmshMatrix.h @@ -96,13 +96,13 @@ class Gmsh_Matrix for(int i = 0; i < b.size1(); i++) for(int j = 0; j < b.size2(); j++) for(int k = 0; k < size2(); k++) - b(i, j) += (*this)(i, k) * x(k, j); + b.data[i + r *j] += (*this)(i, k) * x(k, j); } inline void mult(const Gmsh_Vector<SCALAR> &x, Gmsh_Vector<SCALAR> &b) { for(int i = 0; i < b.size(); i++) for(int j = 0; j < b.size(); j++) - b(i) += (*this)(i, j) * x(j); + b.data[i] += (*this)(i, j) * x(j); } inline void set_all(const double &m) { diff --git a/contrib/NR/Makefile b/contrib/NR/Makefile index a2f6d416eeec06685b9030bb3781fe49b025578f..ed9acd096a1dbda35a4ff85342bcb5d095f2d7bb 100644 --- a/contrib/NR/Makefile +++ b/contrib/NR/Makefile @@ -1,11 +1,27 @@ -# GetDP - Copyright (C) 1997-2008 P. Dular, C. Geuzaine +# $Id: Makefile,v 1.18 2008-07-10 11:54:05 geuzaine Exp $ # -# See the LICENSE.txt file for license information. Please report all -# bugs and problems to <getdp@geuz.org>. +# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +# +# Please report all bugs and problems to <gmsh@geuz.org>. include ../../variables -LIB = ../../lib/libGetDPNR${LIBEXT} +LIB = ../../lib/libGmshNR${LIBEXT} INC = ${DASH}I../../Common ${DASH}I../../DataStr ${DASH}I../../Numeric @@ -47,14 +63,3 @@ depend: rm -f Makefile.new # DO NOT DELETE THIS LINE -brent.o: brent.cpp nrutil.h -dpythag.o: dpythag.cpp nrutil.h -dsvdcmp.o: dsvdcmp.cpp nrutil.h -fdjac.o: fdjac.cpp nrutil.h -fmin.o: fmin.cpp nrutil.h -lnsrch.o: lnsrch.cpp nrutil.h -lubksb.o: lubksb.cpp -ludcmp.o: ludcmp.cpp nrutil.h -mnbrak.o: mnbrak.cpp nrutil.h -newt.o: newt.cpp nrutil.h -nrutil.o: nrutil.cpp ../../Common/Message.h ../../Common/GmshClient.h diff --git a/contrib/NR/nrutil.cpp b/contrib/NR/nrutil.cpp index 019d915a6510d7718f623b0d53f741986b3e7194..64bf6eaa8175c635b3cbef28eb91b0581d69aa73 100644 --- a/contrib/NR/nrutil.cpp +++ b/contrib/NR/nrutil.cpp @@ -1,4 +1,4 @@ -// This file has been modified for inclusion in GetDP +// This file has been modified for inclusion in Gmsh #include <stdio.h> #include <stddef.h> diff --git a/doc/gmsh.html b/doc/gmsh.html index 08ea5e6200cb7870f6f2ed5260d3cbbad1ab3dc9..6c16981c26aab6b68185ee938655473dd56aca01 100644 --- a/doc/gmsh.html +++ b/doc/gmsh.html @@ -30,9 +30,9 @@ generator with built-in pre- and post-processing facilities</h1> <center> <a href="#Description">Description</a> | <a href="#Download"><b>Download</b></a> | + <a href="#Authors">Authors and credits</a> | <a href="#Documentation">Documentation</a> | <a href="#Mailing lists">Mailing lists</a> | - <a href="#Authors">Authors and credits</a> | <a href="#Licensing">Licensing</a> | <a href="#Screenshots">Screenshots</a> | <a href="#Links">Links</a>