Skip to content

Commit

Permalink
Change licence GPL -> LGPL 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Oct 23, 2019
1 parent d9b4af9 commit f1e8fd8
Show file tree
Hide file tree
Showing 120 changed files with 1,244 additions and 690 deletions.
827 changes: 668 additions & 159 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions LICENSE_adccore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
######################
#-- Introduction --#
######################
adcc and the adcc source code is released under the terms of the GNU Lesser
General Public License Version 3 (LGPLv3). This terms of release, however, do
not apply to the adccore binary file `libadccore.so` (or a simlilarly named
dylib file for MacOS), contained in the `adcc/lib` directory of the python code
tarball or the python package directory.
adcc and the adcc source code is released under the terms of the GNU General Public
License Version 3 (LGPLv3). This terms of release, however, do not apply to the
adccore binary file `libadccore.so` (or a simlilarly named dylib file for MacOS),
contained in the `adcc/lib` directory of the python code tarball or the python
package directory.

This measure was taken, since adccore integrates dependencies, where the
licence terms only permit a public release in the form of a precompiled binary.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ or [on arXiv](http://arxiv.org/pdf/1910.07757).

## Licence note
The `adcc` source code contained in this repository is released
under the [GNU Lesser General Public License v3 (LGPLv3)](LICENSE).
under the [GNU General Public License v3 (LGPLv3)](LICENSE).
This license does, however, not apply to the binary
`adccore.so` file distributed inside the folder `/adcc/lib/` of
the release tarball. For its licensing terms,
see [LICENSE_adccore](LICENSE_adccore).
`adccore.so` file (on Linux) or `adccore.dylib` file (on macOS)
distributed inside the folder `/adcc/lib/` of the `adcc` release tarball.
For its licensing terms, see [LICENSE_adccore](LICENSE_adccore).
10 changes: 5 additions & 5 deletions adcc/AdcMatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import numpy as np

import libadcc

from .LazyMp import LazyMp
from .AdcMethod import AdcMethod
from .functions import empty_like
from .AmplitudeVector import AmplitudeVector

import libadcc


class AdcMatrix(libadcc.AdcMatrix):
def __init__(self, method, mp_results):
Expand Down
6 changes: 3 additions & 3 deletions adcc/AdcMethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
Expand Down
7 changes: 3 additions & 4 deletions adcc/AmplitudeVector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------

import libadcc

BLOCK_LABELS = ["s", "d", "t"]
Expand Down
6 changes: 3 additions & 3 deletions adcc/DataHfProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
Expand Down
14 changes: 7 additions & 7 deletions adcc/ExcitedStates.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import warnings
import numpy as np

from adcc import dot
from matplotlib import pyplot as plt

from .misc import cached_property
from .timings import Timer, timed_member_call
from .AdcMethod import AdcMethod
from .visualisation import ExcitationSpectrum
from .state_densities import compute_gs2state_optdm, compute_state_diffdm
from .OneParticleOperator import product_trace
from .solver.SolverStateBase import EigenSolverStateBase

from adcc import dot
from matplotlib import pyplot as plt

from scipy import constants
from .solver.SolverStateBase import EigenSolverStateBase


class ExcitedStates:
Expand Down
6 changes: 3 additions & 3 deletions adcc/HfCounterData.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions adcc/LazyMp.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import numpy as np

import libadcc

from .misc import cached_property
from .ReferenceState import ReferenceState
from .caching_policy import DefaultCachingPolicy
from .OneParticleOperator import OneParticleOperator, product_trace

import libadcc


class LazyMp(libadcc.LazyMp):
def __init__(self, hf, caching_policy=DefaultCachingPolicy()):
Expand Down
10 changes: 5 additions & 5 deletions adcc/MoSpaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import libadcc

from .backends import import_scf_results
from .memory_pool import memory_pool

import libadcc

__all__ = ["MoSpaces"]


Expand Down
6 changes: 3 additions & 3 deletions adcc/OneParticleOperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions adcc/OperatorIntegrals.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import numpy as np

import libadcc

from .misc import cached_property
from .Tensor import Tensor
from .timings import Timer, timed_member_call
from .OneParticleOperator import OneParticleOperator

import libadcc


def transform_operator_ao2mo(tensor_bb, tensor_ff, coefficients,
conv_tol=1e-14):
Expand Down
14 changes: 7 additions & 7 deletions adcc/ReferenceState.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import numpy as np

from collections.abc import Iterable

import libadcc

from .misc import cached_property
from .Tensor import Tensor
from .backends import import_scf_results
from .memory_pool import memory_pool
from .OperatorIntegrals import OperatorIntegrals
from .OneParticleOperator import OneParticleOperator, product_trace

from collections.abc import Iterable

import libadcc

__all__ = ["ReferenceState"]


Expand Down
6 changes: 3 additions & 3 deletions adcc/Symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions adcc/Tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
## This file is part of adcc.
##
## adcc is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## adcc 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 Lesser General Public License for more details.
## GNU General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## You should have received a copy of the GNU General Public License
## along with adcc. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------
import libadcc

from .Symmetry import Symmetry

import libadcc


class Tensor(libadcc.Tensor):
def __init__(self, sym_or_mo, space=None, irreps_allowed=None,
Expand Down
Loading

0 comments on commit f1e8fd8

Please sign in to comment.