|
| 1 | + |
| 2 | +/******************************************************************************************************* |
| 3 | +* Copyright 2018 Alliance for Sustainable Energy, LLC |
| 4 | +* |
| 5 | +* NOTICE: This software was developed at least in part by Alliance for Sustainable Energy, LLC |
| 6 | +* ("Alliance") under Contract No. DE-AC36-08GO28308 with the U.S. Department of Energy and the U.S. |
| 7 | +* The Government retains for itself and others acting on its behalf a nonexclusive, paid-up, |
| 8 | +* irrevocable worldwide license in the software to reproduce, prepare derivative works, distribute |
| 9 | +* copies to the public, perform publicly and display publicly, and to permit others to do so. |
| 10 | +* |
| 11 | +* Redistribution and use in source and binary forms, with or without modification, are permitted |
| 12 | +* provided that the following conditions are met: |
| 13 | +* |
| 14 | +* 1. Redistributions of source code must retain the above copyright notice, the above government |
| 15 | +* rights notice, this list of conditions and the following disclaimer. |
| 16 | +* |
| 17 | +* 2. Redistributions in binary form must reproduce the above copyright notice, the above government |
| 18 | +* rights notice, this list of conditions and the following disclaimer in the documentation and/or |
| 19 | +* other materials provided with the distribution. |
| 20 | +* |
| 21 | +* 3. The entire corresponding source code of any redistribution, with or without modification, by a |
| 22 | +* research entity, including but not limited to any contracting manager/operator of a United States |
| 23 | +* National Laboratory, any institution of higher learning, and any non-profit organization, must be |
| 24 | +* made publicly available under this license for as long as the redistribution is made available by |
| 25 | +* the research entity. |
| 26 | +* |
| 27 | +* 4. Redistribution of this software, without modification, must refer to the software by the same |
| 28 | +* designation. Redistribution of a modified version of this software (i) may not refer to the modified |
| 29 | +* version by the same designation, or by any confusingly similar designation, and (ii) must refer to |
| 30 | +* the underlying software originally provided by Alliance as "Solar Power tower Integrated Layout and |
| 31 | +* Optimization Tool" or "SolarPILOT". Except to comply with the foregoing, the terms "Solar Power |
| 32 | +* tower Integrated Layout and Optimization Tool", "SolarPILOT", or any confusingly similar |
| 33 | +* designation may not be used to refer to any modified version of this software or any modified |
| 34 | +* version of the underlying software originally provided by Alliance without the prior written consent |
| 35 | +* of Alliance. |
| 36 | +* |
| 37 | +* 5. The name of the copyright holder, contributors, the United States Government, the United States |
| 38 | +* Department of Energy, or any of their employees may not be used to endorse or promote products |
| 39 | +* derived from this software without specific prior written permission. |
| 40 | +* |
| 41 | +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR |
| 42 | +* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 43 | +* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, |
| 44 | +* CONTRIBUTORS, UNITED STATES GOVERNMENT OR UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR |
| 45 | +* EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 46 | +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 47 | +* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
| 48 | +* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
| 49 | +* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 50 | +*******************************************************************************************************/ |
| 51 | + |
| 52 | + |
1 | 53 | #include <fstream> |
2 | 54 | #include <ostream> |
3 | 55 | #include <shared/lib_weatherfile.h> |
|
0 commit comments