|
1 | | -# *********************************************************************************** |
2 | | -# * Copyright 2010 - 2016 Paulo A. Herrera. All rights reserved. * |
3 | | -# * * |
4 | | -# * Redistribution and use in source and binary forms, with or without * |
5 | | -# * modification, are permitted provided that the following conditions are met: * |
6 | | -# * * |
7 | | -# * 1. Redistributions of source code must retain the above copyright notice, * |
8 | | -# * this list of conditions and the following disclaimer. * |
9 | | -# * * |
10 | | -# * 2. Redistributions in binary form must reproduce the above copyright notice, * |
11 | | -# * this list of conditions and the following disclaimer in the documentation * |
12 | | -# * and/or other materials provided with the distribution. * |
13 | | -# * * |
14 | | -# * THIS SOFTWARE IS PROVIDED BY PAULO A. HERRERA ``AS IS'' AND ANY EXPRESS OR * |
15 | | -# * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * |
16 | | -# * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO * |
17 | | -# * EVENT SHALL <COPYRIGHT HOLDER> OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * |
18 | | -# * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * |
19 | | -# * BUT NOT LIMITED TO, PROCUREMEN OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * |
20 | | -# * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * |
21 | | -# * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * |
22 | | -# * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * |
23 | | -# * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * |
24 | | -# *********************************************************************************** |
| 1 | +###################################################################################### |
| 2 | +# MIT License |
| 3 | +# |
| 4 | +# Copyright (c) 2010-2024 Paulo A. Herrera |
| 5 | +# |
| 6 | +# Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +# of this software and associated documentation files (the "Software"), to deal |
| 8 | +# in the Software without restriction, including without limitation the rights |
| 9 | +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +# copies of the Software, and to permit persons to whom the Software is |
| 11 | +# furnished to do so, subject to the following conditions: |
| 12 | +# |
| 13 | +# The above copyright notice and this permission notice shall be included in all |
| 14 | +# copies or substantial portions of the Software. |
| 15 | +# |
| 16 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +# SOFTWARE. |
| 23 | +###################################################################################### |
25 | 24 | """High level Python library to export data to binary VTK file.""" |
26 | 25 |
|
27 | 26 | import numpy as np |
|
0 commit comments