Skip to content

Commit

Permalink
Switch to the modified 3-clause BSD license
Browse files Browse the repository at this point in the history
  • Loading branch information
zgimbutas committed Nov 9, 2017
1 parent 3a02592 commit c30374d
Show file tree
Hide file tree
Showing 22 changed files with 141 additions and 244 deletions.
41 changes: 28 additions & 13 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
%% Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
%% Contact: [email protected]
%%
%% 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, see <http://www.gnu.org/licenses/>.
Copyright (c) 2009-2012, Leslie Greengard, Zydrunas Gimbutas
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

66 changes: 43 additions & 23 deletions README → README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,55 @@
This is the second public release of the particle FMM library in R^2.

This is the first public release of the particle FMM library in R^2.
Date: April 13, 2012
Date: November 8, 2017

Version 1.2 - First external release.
Version 1.2.1

%% Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
%% Contact: [email protected]
%%
%% 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, see <http://www.gnu.org/licenses/>.
Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
Contact: [email protected]

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


### Contents

```
src/ - Fortran source code
examples/ - Fortran testing drivers and makefiles
matlab/ - matlab scripts and mex files
contrib/mwrap-0.33.3/ - mwrap source code
```

To test the library, please type 'make test'.
To test the library, please type `make test`.


Fortran
=======
### Fortran

Particle FMM routines.

```
hfmm2dpartself - Helmholtz particle FMM in R^2.
lfmm2dpartself - Laplace particle FMM in R^2 (complex).
rfmm2dpartself - Laplace particle FMM in R^2 (real).
Expand All @@ -43,19 +61,21 @@ lfmm2dparttarg - Laplace particle target FMM in R^2 (complex).
rfmm2dparttarg - Laplace particle target FMM in R^2 (real).
zfmm2dparttarg - Laplace particle target FMM in R^2 (Cauchy sums).
cfmm2dparttarg - Laplace particle target FMM in R^2 (generalized Cauchy sums).
```

Direct evaluation routines.

```
h2dpartdirect - Helmholtz particle target interactions in R^2.
l2dpartdirect - Laplace particle target interactions in R^2 (complex).
r2dpartdirect - Laplace particle target interactions in R^2 (real).
z2dpartdirect - Laplace particle target interactions in R^2 (Cauchy).
c2dpartdirect - Laplace particle target interactions in R^2 (g. Cauchy).
```

### Matlab

Matlab
======

```
% Helmholtz and Laplace FMMs in R^2.
%
% Particle FMM routines.
Expand All @@ -72,4 +92,4 @@ Matlab
% z2dpartdirect - Laplace particle target interactions in R^2 (Cauchy).
% c2dpartdirect - Laplace particle target interactions in R^2 (g. Cauchy).
%

```
18 changes: 5 additions & 13 deletions matlab/Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,8 @@
% timings_hfmm2dpart - timings for Helmholtz particle FMM in R^2.
%

%% Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
%% Contact: [email protected]
%%
%% 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, see <http://www.gnu.org/licenses/>.
% Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
% Contact: [email protected]
%
% This software is being released under a modified FreeBSD license
% (see COPYING in home directory).
14 changes: 3 additions & 11 deletions matlab/Readme.m
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
function Readme()
%README
%
% Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
% Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
% Contact: [email protected]
%
% 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, see <http://www.gnu.org/licenses/>.
% This software is being released under a modified FreeBSD license
% (see COPYING in home directory).
%


14 changes: 3 additions & 11 deletions matlab/fmm2d.mw
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
@function Readme()
%README
%
% Copyright (C) 2010-2012: Leslie Greengard and Zydrunas Gimbutas
% Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
% Contact: [email protected]
%
% 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, see <http://www.gnu.org/licenses/>.
% This software is being released under a modified FreeBSD license
% (see COPYING in home directory).
%


Expand Down
15 changes: 4 additions & 11 deletions src/cdjseval2d.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
cc Copyright (C) 2009-2011: Leslie Greengard and Zydrunas Gimbutas
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
c
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date: 2011-02-22 17:34:23 -0500 (Tue, 22 Feb 2011) $
Expand Down
14 changes: 3 additions & 11 deletions src/cfmm2dpart.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
cc Copyright (C) 2010-2011: Leslie Greengard and Zydrunas Gimbutas
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date$
Expand Down
16 changes: 3 additions & 13 deletions src/d2mtreeplot.f
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
cc Copyright (C) 2010: Leslie Greengard, Zydrunas Gimbutas, Vladimir Rokhlin
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c this is the end of the debugging code and the beginning
Expand Down
15 changes: 4 additions & 11 deletions src/d2tstrcr.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
cc Copyright (C) 2010: Leslie Greengard, Zydrunas Gimbutas, Vladimir Rokhlin
cc Copyright (C) 2010: Vladimir Rokhlin
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date: 2011-09-07 11:05:19 -0400 (Wed, 07 Sep 2011) $
Expand Down
15 changes: 4 additions & 11 deletions src/d2tstrcr_omp.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
cc Copyright (C) 2011: Leslie Greengard, Zydrunas Gimbutas, Vladimir Rokhlin
cc Copyright (C) 2010: Vladimir Rokhlin
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date: 2011-04-15 22:14:18 -0400 (Fri, 15 Apr 2011) $
Expand Down
15 changes: 4 additions & 11 deletions src/h2dterms.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
cc Copyright (C) 2009: Leslie Greengard and Zydrunas Gimbutas
cc Copyright (C) 2010: Vladimir Rokhlin
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date: 2011-02-22 17:34:23 -0500 (Tue, 22 Feb 2011) $
Expand Down
12 changes: 6 additions & 6 deletions src/hank103.f
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

c
c
c
c
c
cc Copyright (C) 2010: Vladimir Rokhlin
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c
Expand Down
14 changes: 3 additions & 11 deletions src/helmrouts2d.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
cc Copyright (C) 2010-2011: Leslie Greengard and Zydrunas Gimbutas
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date: 2011-04-25 22:45:52 -0400 (Mon, 25 Apr 2011) $
Expand Down
14 changes: 3 additions & 11 deletions src/hfmm2dpart.f
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
cc Copyright (C) 2010-2011: Leslie Greengard and Zydrunas Gimbutas
cc Copyright (C) 2009-2012: Leslie Greengard and Zydrunas Gimbutas
cc Contact: [email protected]
cc
cc This program is free software; you can redistribute it and/or modify
cc it under the terms of the GNU General Public License as published by
cc the Free Software Foundation; either version 2 of the License, or
cc (at your option) any later version. This program is distributed in
cc the hope that it will be useful, but WITHOUT ANY WARRANTY; without
cc even the implied warranty of MERCHANTABILITY or FITNESS FOR A
cc PARTICULAR PURPOSE. See the GNU General Public License for more
cc details. You should have received a copy of the GNU General Public
cc License along with this program;
cc if not, see <http://www.gnu.org/licenses/>.
cc This software is being released under a modified FreeBSD license
cc (see COPYING in home directory).
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
c
c $Date$
Expand Down
Loading

0 comments on commit c30374d

Please sign in to comment.