From be61debedee39dcc469d07068a95f726e2ddf21a Mon Sep 17 00:00:00 2001 From: Gertjan van Zwieten Date: Tue, 5 Dec 2017 18:24:45 +0100 Subject: [PATCH] embed MIT license in all source files --- LICENSE | 4 +++- nutils/__init__.py | 20 ++++++++++++++++++++ nutils/cache.py | 22 +++++++++++++++++----- nutils/cli.py | 22 +++++++++++++++++----- nutils/core.py | 22 +++++++++++++++++----- nutils/element.py | 22 +++++++++++++++++----- nutils/expression.py | 22 ++++++++++++++++++---- nutils/function.py | 22 +++++++++++++++++----- nutils/log.py | 22 +++++++++++++++++----- nutils/matrix.py | 22 +++++++++++++++++----- nutils/mesh.py | 22 +++++++++++++++++----- nutils/numeric.py | 22 +++++++++++++++++----- nutils/parallel.py | 22 +++++++++++++++++----- nutils/plot.py | 22 +++++++++++++++++----- nutils/solver.py | 22 +++++++++++++++++----- nutils/topology.py | 22 +++++++++++++++++----- nutils/transform.py | 22 +++++++++++++++++----- nutils/util.py | 22 +++++++++++++++++----- 18 files changed, 296 insertions(+), 80 deletions(-) diff --git a/LICENSE b/LICENSE index 18c394f97..69e211bd7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,6 @@ -Copyright (c) 2014 Evalf, TU/e Multiscale Engineering Fluid Dynamics. +MIT License + +Copyright (c) 2014 Evalf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/nutils/__init__.py b/nutils/__init__.py index 6d23f99fc..d54e7f154 100644 --- a/nutils/__init__.py +++ b/nutils/__init__.py @@ -1,3 +1,23 @@ +# Copyright (c) 2014 Evalf +# +# 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. + import sys, numpy from distutils.version import LooseVersion diff --git a/nutils/cache.py b/nutils/cache.py index b49f979eb..d066fc75e 100644 --- a/nutils/cache.py +++ b/nutils/cache.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module CACHE +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The cache module. diff --git a/nutils/cli.py b/nutils/cli.py index 624fdb7dc..d71443a21 100644 --- a/nutils/cli.py +++ b/nutils/cli.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module CLI +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The cli (command line interface) module provides the `cli.run` function that diff --git a/nutils/core.py b/nutils/core.py index 1a7a7ab52..16eda6abc 100644 --- a/nutils/core.py +++ b/nutils/core.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module CORE +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The core module provides a collection of low level constructs that have no diff --git a/nutils/element.py b/nutils/element.py index d97b3ef4f..b5d92c834 100644 --- a/nutils/element.py +++ b/nutils/element.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module ELEMENT +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The element module defines reference elements such as the :class:`QuadElement` diff --git a/nutils/expression.py b/nutils/expression.py index ca2142a70..d0c5a6caa 100644 --- a/nutils/expression.py +++ b/nutils/expression.py @@ -1,8 +1,22 @@ -# Module EXPRESSION +# Copyright (c) 2014 Evalf # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2017 +# 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. ''' This module defines the function :func:`parse`, which parses a tensor diff --git a/nutils/function.py b/nutils/function.py index c662f2ed0..bb28831f3 100644 --- a/nutils/function.py +++ b/nutils/function.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module FUNCTION +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The function module defines the :class:`Evaluable` class and derived objects, diff --git a/nutils/log.py b/nutils/log.py index 867ec4aba..3159486e0 100644 --- a/nutils/log.py +++ b/nutils/log.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module LOG +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The log module provides print methods ``debug``, ``info``, ``user``, diff --git a/nutils/matrix.py b/nutils/matrix.py index d828cf769..d26378398 100644 --- a/nutils/matrix.py +++ b/nutils/matrix.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module MATRIX +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The matrix module defines a number of 2D matrix objects, notably the diff --git a/nutils/mesh.py b/nutils/mesh.py index 874f62f25..570a96b96 100644 --- a/nutils/mesh.py +++ b/nutils/mesh.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module MESH +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The mesh module provides mesh generators: methods that return a topology and an diff --git a/nutils/numeric.py b/nutils/numeric.py index d8a782292..59a087454 100644 --- a/nutils/numeric.py +++ b/nutils/numeric.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module NUMERIC +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The numeric module provides methods that are lacking from the numpy module. diff --git a/nutils/parallel.py b/nutils/parallel.py index 19bd8f434..d80bc6fa9 100644 --- a/nutils/parallel.py +++ b/nutils/parallel.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module PARALLEL +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The parallel module provides tools aimed at parallel computing. At this point diff --git a/nutils/plot.py b/nutils/plot.py index 44b5d8819..0965c192a 100644 --- a/nutils/plot.py +++ b/nutils/plot.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module PLOT +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The plot module aims to provide a consistent interface to various plotting diff --git a/nutils/solver.py b/nutils/solver.py index 5123664ac..22860cb0c 100644 --- a/nutils/solver.py +++ b/nutils/solver.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module MODEL +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The solver module defines the :class:`Integral` class, which represents an diff --git a/nutils/topology.py b/nutils/topology.py index c26711c01..506e84f4e 100644 --- a/nutils/topology.py +++ b/nutils/topology.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module TOPOLOGY +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The topology module defines the topology objects, notably the diff --git a/nutils/transform.py b/nutils/transform.py index 49c4736d7..791cdd4e7 100644 --- a/nutils/transform.py +++ b/nutils/transform.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module ELEMENT +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The transform module. diff --git a/nutils/util.py b/nutils/util.py index e73a102bf..f0eb76d96 100644 --- a/nutils/util.py +++ b/nutils/util.py @@ -1,10 +1,22 @@ -# -*- coding: utf8 -*- +# Copyright (c) 2014 Evalf # -# Module UTIL +# 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: # -# Part of Nutils: open source numerical utilities for Python. Jointly developed -# by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, -# and others. More info at http://nutils.org . (c) 2014 +# 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. """ The util module provides a collection of general purpose methods. Most