Skip to content

Commit

Permalink
swapped license
Browse files Browse the repository at this point in the history
  • Loading branch information
landreman committed Oct 18, 2023
1 parent 490282b commit 534c60b
Show file tree
Hide file tree
Showing 27 changed files with 46 additions and 864 deletions.
674 changes: 0 additions & 674 deletions COPYING

This file was deleted.

165 changes: 0 additions & 165 deletions COPYING.LESSER

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Simsopt contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ requirements:
about:
home: {{ data.get('url') }}
summary: simplified framework for stellarator optimization
license: LGPL
license_file: ["COPYING", "COPYING.LESSER"]
license: MIT
license_file: "LICENSE"
description:
doc_url: https://simsopt.readthedocs.io/
dev_url: {{ data.get('url') }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifier =
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Physics
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
License :: OSI Approved :: MIT License
Operating System :: MacOS :: MacOS X
Operating System :: POSIX :: Linux
Environment :: Console
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/dev.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

import functools
import warnings
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/finite_difference.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides Jacobian evaluated with finite difference scheme
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/json.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
Provides json emitting and parsing functionality that can handle graphs.
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/optimizable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
Provides graph based Optimizable class, whose instances can be used to
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/types.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module contains small utility functions and classes.
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/_core/util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module contains small utility functions and classes needed by *_core*
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

from .vmec import *
from .virtual_casing import *
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/bootstrap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides functions to compute the bootstrap current
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/boozer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides a class that handles the transformation to
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/profiles.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides classes to handle radial profiles of density,
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/spec.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides a class that handles the SPEC equilibrium code.
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/virtual_casing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides routines for interacting with the
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/vmec.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides a class that handles the VMEC equilibrium code.
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/mhd/vmec_diagnostics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module contains functions that can postprocess VMEC output.
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/objectives/constrained.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
Provides the ConstrainedProblem class implemented using the graph based
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/objectives/functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides a few minimal optimizable objects, each
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/objectives/least_squares.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
Provides the LeastSquaresProblem class implemented using the new graph based
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/solve/mpi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides two main functions, fd_jac_mpi and
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/solve/serial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module provides the least_squares_serial_solve
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/util/fourier_interpolation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module contains a subroutine for spectrally accurate interpolation of
Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/util/logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

__all__ = ['initialize_logging']

Expand Down
2 changes: 1 addition & 1 deletion src/simsopt/util/mpi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
# Copyright (c) HiddenSymmetries Development Team.
# Distributed under the terms of the LGPL License
# Distributed under the terms of the MIT License

"""
This module contains the :class:`~simsopt.util.mpi.MpiPartition` class.
Expand Down

0 comments on commit 534c60b

Please sign in to comment.