Skip to content

Commit

Permalink
add copyright and header
Browse files Browse the repository at this point in the history
used from ALPSCore
  • Loading branch information
ryanlevy committed Jul 29, 2015
1 parent 7bd5411 commit 72287b1
Show file tree
Hide file tree
Showing 43 changed files with 649 additions and 619 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@
!ublas_vector.hpp
!maxent_parms_default.hpp
!examples/
!LICENSE.TXT
!ACKNOWLEDGE.TXT
!COPYRIGHT.TXT
!HEADER.TXT
!scripts/

.DS_Store
*.pyc
*.swp

#C++ Files
# Compiled Object files
Expand Down
6 changes: 6 additions & 0 deletions ACKNOWLEDGE.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Whenever scientific publications result from a program based on ALPS or Maxent we kindly ask for an acknowledgment of ALPS and a citation to the most current ALPS paper:

B. Bauer et al., J. Stat. Mech. (2011) P05001.
http://iopscience.iop.org/1742-5468/2011/05/P05001/
http://dx.doi.org/10.1088/1742-5468/2011/05/P05001

2 changes: 2 additions & 0 deletions COPYRIGHT.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright (C) 2012-14 University of Michigan
Copyright (C) 1998-14 ETH Zurich
3 changes: 3 additions & 0 deletions HEADER.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
All rights reserved. Use is subject to license terms. See LICENSE.TXT
For use in publications, see ACKNOWLEDGE.TXT
324 changes: 324 additions & 0 deletions LICENSE.TXT

Large diffs are not rendered by default.

32 changes: 5 additions & 27 deletions default_model.cpp
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/

/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/

#include "default_model.hpp"
#include <fstream>
Expand Down
31 changes: 5 additions & 26 deletions default_model.hpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/


#pragma once
Expand Down
31 changes: 5 additions & 26 deletions default_modelTest.cpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/


#include "default_model.hpp"
Expand Down
5 changes: 5 additions & 0 deletions kk/kk.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/
#include<iostream>
#include<fstream>
#include<stdexcept>
Expand Down
11 changes: 5 additions & 6 deletions legendre_convert/legendre_convert.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* Written by Ryan Levy
* Based on:
* Lewin Boehnke, et al.
* Orthogonal polynomial representation of imaginary-time green’s functions. Phys. Rev. B, 84:075145, Aug 2011.
* doi: 10.1103/PhysRevB.84.075145
* */
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/

#include <iostream>
#include <fstream>
Expand Down
31 changes: 5 additions & 26 deletions maxent.cpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/

#include "maxent.hpp"
//#include <alps/mc/mcoptions.hpp>
Expand Down
32 changes: 5 additions & 27 deletions maxent.hpp
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
* 2011 by Emanuel Gull <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/

/* $Id: factory.h 1101 2004-08-18 18:11:43Z troyer $ */

Expand Down
31 changes: 5 additions & 26 deletions maxent_blas.hpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/

#pragma once

Expand Down
31 changes: 5 additions & 26 deletions maxent_grid.cpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/
#include "maxent_grid.hpp"
#include<cmath>
#include <boost/algorithm/string.hpp>
Expand Down
31 changes: 5 additions & 26 deletions maxent_grid.hpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/
#pragma once
#include<vector>
#include<alps/params.hpp>
Expand Down
31 changes: 5 additions & 26 deletions maxent_gridTest.cpp
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
/*****************************************************************************
*
* ALPS Project Applications
*
* Copyright (C) 2010 by Sebastian Fuchs <[email protected]>
* Thomas Pruschke <[email protected]>
* Matthias Troyer <[email protected]>
*
* This software is part of the ALPS Applications, published under the ALPS
* Application License; you can use, redistribute it and/or modify it under
* the terms of the license, either version 1 or (at your option) any later
* version.
*
* You should have received a copy of the ALPS Application License along with
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
* available from http://alps.comp-phys.org/.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
* Copyright (C) 1998-2015 ALPS Collaboration. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
* For use in publications, see ACKNOWLEDGE.TXT
*/


#include "maxent_grid.hpp"
Expand Down
Loading

0 comments on commit 72287b1

Please sign in to comment.