Add license/copyright info to files that were missing it

This commit is contained in:
Ray Speth 2016-10-10 22:48:23 -04:00
parent ecbfecd7fd
commit ae6e7fdff7
201 changed files with 684 additions and 2 deletions

View file

@ -1,4 +1,8 @@
//! @file Edge.h //! @file Edge.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_EDGE #ifndef CXX_EDGE
#define CXX_EDGE #define CXX_EDGE

View file

@ -1,4 +1,8 @@
//! @file IdealGasMix.h //! @file IdealGasMix.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_IDEALGASMIX #ifndef CXX_IDEALGASMIX
#define CXX_IDEALGASMIX #define CXX_IDEALGASMIX

View file

@ -1,4 +1,8 @@
//! @file IncompressibleSolid.h //! @file IncompressibleSolid.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_INCOMPRESSIBLE #ifndef CXX_INCOMPRESSIBLE
#define CXX_INCOMPRESSIBLE #define CXX_INCOMPRESSIBLE

View file

@ -2,6 +2,10 @@
* @file Interface.h * @file Interface.h
* Declaration and Definition for the class Interface. * Declaration and Definition for the class Interface.
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_INTERFACE #ifndef CXX_INTERFACE
#define CXX_INTERFACE #define CXX_INTERFACE

View file

@ -1,4 +1,8 @@
//! @file Metal.h //! @file Metal.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_METAL #ifndef CXX_METAL
#define CXX_METAL #define CXX_METAL

View file

@ -1,4 +1,8 @@
//! @file PureFluid.h //! @file PureFluid.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CXX_PUREFLUID #ifndef CXX_PUREFLUID
#define CXX_PUREFLUID #define CXX_PUREFLUID

View file

@ -2,6 +2,10 @@
* @file FactoryBase.h * @file FactoryBase.h
* File contains the FactoryBase class declarations. * File contains the FactoryBase class declarations.
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_FACTORY_BASE #ifndef CT_FACTORY_BASE
#define CT_FACTORY_BASE #define CT_FACTORY_BASE

View file

@ -2,6 +2,9 @@
* @file ValueCache.h * @file ValueCache.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_VALUECACHE_H #ifndef CT_VALUECACHE_H
#define CT_VALUECACHE_H #define CT_VALUECACHE_H

View file

@ -3,6 +3,10 @@
* Header for Base class for 'loggers' that write text messages to log files * Header for Base class for 'loggers' that write text messages to log files
* (see \ref textlogs and class \link Cantera::Logger Logger\endlink). * (see \ref textlogs and class \link Cantera::Logger Logger\endlink).
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LOGGER_H #ifndef CT_LOGGER_H
#define CT_LOGGER_H #define CT_LOGGER_H

View file

@ -1,3 +1,6 @@
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_CYTHON_FUNC_WRAPPER #ifndef CT_CYTHON_FUNC_WRAPPER
#define CT_CYTHON_FUNC_WRAPPER #define CT_CYTHON_FUNC_WRAPPER

View file

@ -1,3 +1,6 @@
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#include "cantera/base/logger.h" #include "cantera/base/logger.h"
#include "cantera/thermo/ThermoPhase.h" #include "cantera/thermo/ThermoPhase.h"
#include "cantera/transport/TransportBase.h" #include "cantera/transport/TransportBase.h"

View file

@ -1,4 +1,8 @@
//! @file MultiPhaseEquil.h //! @file MultiPhaseEquil.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_MULTIPHASE_EQUIL #ifndef CT_MULTIPHASE_EQUIL
#define CT_MULTIPHASE_EQUIL #define CT_MULTIPHASE_EQUIL

View file

@ -2,6 +2,10 @@
* @file vcs_MultiPhaseEquil.h * @file vcs_MultiPhaseEquil.h
* Interface class for the vcsnonlinear solver * Interface class for the vcsnonlinear solver
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef VCS_MULTIPHASEEQUIL_H #ifndef VCS_MULTIPHASEEQUIL_H
#define VCS_MULTIPHASEEQUIL_H #define VCS_MULTIPHASEEQUIL_H

View file

@ -1,4 +1,8 @@
//! @file vcs_SpeciesProperties.h //! @file vcs_SpeciesProperties.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef VCS_SPECIES_PROPERTIES_H #ifndef VCS_SPECIES_PROPERTIES_H
#define VCS_SPECIES_PROPERTIES_H #define VCS_SPECIES_PROPERTIES_H

View file

@ -3,6 +3,9 @@
* @ingroup chemkinetics * @ingroup chemkinetics
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_BULKKINETICS_H #ifndef CT_BULKKINETICS_H
#define CT_BULKKINETICS_H #define CT_BULKKINETICS_H

View file

@ -1,3 +1,6 @@
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_FALLOFF_H #ifndef CT_FALLOFF_H
#define CT_FALLOFF_H #define CT_FALLOFF_H

View file

@ -2,6 +2,9 @@
* @file Reaction.h * @file Reaction.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_REACTION_H #ifndef CT_REACTION_H
#define CT_REACTION_H #define CT_REACTION_H

View file

@ -2,6 +2,9 @@
* @file ThirdBodyCalc.h * @file ThirdBodyCalc.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_THIRDBODYCALC_H #ifndef CT_THIRDBODYCALC_H
#define CT_THIRDBODYCALC_H #define CT_THIRDBODYCALC_H

View file

@ -2,6 +2,9 @@
* @file OneDim.h * @file OneDim.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_ONEDIM_H #ifndef CT_ONEDIM_H
#define CT_ONEDIM_H #define CT_ONEDIM_H

View file

@ -2,6 +2,9 @@
* @file Sim1D.h * @file Sim1D.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_SIM1D_H #ifndef CT_SIM1D_H
#define CT_SIM1D_H #define CT_SIM1D_H

View file

@ -1,3 +1,6 @@
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_REFINE_H #ifndef CT_REFINE_H
#define CT_REFINE_H #define CT_REFINE_H

View file

@ -5,6 +5,10 @@
* on a piecewise constant mu0 interpolation * on a piecewise constant mu0 interpolation
* (see \ref spthermo and class \link Cantera::Mu0Poly Mu0Poly\endlink). * (see \ref spthermo and class \link Cantera::Mu0Poly Mu0Poly\endlink).
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_MU0POLY_H #ifndef CT_MU0POLY_H
#define CT_MU0POLY_H #define CT_MU0POLY_H

View file

@ -3,6 +3,10 @@
* Header for a general species thermodynamic property manager for a phase (see * Header for a general species thermodynamic property manager for a phase (see
* \link Cantera::MultiSpeciesThermo MultiSpeciesThermo\endlink). * \link Cantera::MultiSpeciesThermo MultiSpeciesThermo\endlink).
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_MULTISPECIESTHERMO_H #ifndef CT_MULTISPECIESTHERMO_H
#define CT_MULTISPECIESTHERMO_H #define CT_MULTISPECIESTHERMO_H

View file

@ -1,5 +1,8 @@
//! @file Species.h Declaration for class Cantera::Species. //! @file Species.h Declaration for class Cantera::Species.
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_SPECIES_H #ifndef CT_SPECIES_H
#define CT_SPECIES_H #define CT_SPECIES_H

View file

@ -1,4 +1,8 @@
//! @file Sub.h //! @file Sub.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef TPX_SUB_H #ifndef TPX_SUB_H
#define TPX_SUB_H #define TPX_SUB_H

View file

@ -2,6 +2,9 @@
* @file GasTransport.h * @file GasTransport.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_GAS_TRANSPORT_H #ifndef CT_GAS_TRANSPORT_H
#define CT_GAS_TRANSPORT_H #define CT_GAS_TRANSPORT_H

View file

@ -3,6 +3,9 @@
* Interface for class HighPressureGasTransport * Interface for class HighPressureGasTransport
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_HIGHPRESSUREGASTRAN_H #ifndef CT_HIGHPRESSUREGASTRAN_H
#define CT_HIGHPRESSUREGASTRAN_H #define CT_HIGHPRESSUREGASTRAN_H

View file

@ -3,6 +3,9 @@
* Header file defining class LTPspecies and its child classes * Header file defining class LTPspecies and its child classes
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LTPSPECIES_H #ifndef CT_LTPSPECIES_H
#define CT_LTPSPECIES_H #define CT_LTPSPECIES_H

View file

@ -4,6 +4,9 @@
* derive from LiquidTranInteraction. * derive from LiquidTranInteraction.
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LIQUIDTRANINTERACTION_H #ifndef CT_LIQUIDTRANINTERACTION_H
#define CT_LIQUIDTRANINTERACTION_H #define CT_LIQUIDTRANINTERACTION_H

View file

@ -2,6 +2,10 @@
* @file LiquidTransport.h * @file LiquidTransport.h
* Header file defining class LiquidTransport * Header file defining class LiquidTransport
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LIQUIDTRAN_H #ifndef CT_LIQUIDTRAN_H
#define CT_LIQUIDTRAN_H #define CT_LIQUIDTRAN_H

View file

@ -2,6 +2,10 @@
* @file LiquidTransportData.h * @file LiquidTransportData.h
* Header file defining class LiquidTransportData * Header file defining class LiquidTransportData
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LIQUIDTRANSPORTDATA_H #ifndef CT_LIQUIDTRANSPORTDATA_H
#define CT_LIQUIDTRANSPORTDATA_H #define CT_LIQUIDTRANSPORTDATA_H

View file

@ -3,6 +3,9 @@
* Header file defining class LiquidTransportParams * Header file defining class LiquidTransportParams
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_LIQUIDTRANSPORTPARAMS_H #ifndef CT_LIQUIDTRANSPORTPARAMS_H
#define CT_LIQUIDTRANSPORTPARAMS_H #define CT_LIQUIDTRANSPORTPARAMS_H

View file

@ -4,6 +4,10 @@
* transport properties for liquids and solids * transport properties for liquids and solids
* (see \ref tranprops and \link Cantera::SimpleTransport SimpleTransport \endlink) . * (see \ref tranprops and \link Cantera::SimpleTransport SimpleTransport \endlink) .
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_SIMPLETRAN_H #ifndef CT_SIMPLETRAN_H
#define CT_SIMPLETRAN_H #define CT_SIMPLETRAN_H

View file

@ -3,6 +3,9 @@
* Header file defining class SolidTransportData * Header file defining class SolidTransportData
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_SOLIDTRANSPORTDATA_H #ifndef CT_SOLIDTRANSPORTDATA_H
#define CT_SOLIDTRANSPORTDATA_H #define CT_SOLIDTRANSPORTDATA_H

View file

@ -1,5 +1,8 @@
//! @file TransportData.h //! @file TransportData.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_TRANSPORTDATA_H #ifndef CT_TRANSPORTDATA_H
#define CT_TRANSPORTDATA_H #define CT_TRANSPORTDATA_H

View file

@ -4,6 +4,10 @@
* processing of the transport object * processing of the transport object
* (see \ref tranprops and \link Cantera::TransportParams TransportParams \endlink). * (see \ref tranprops and \link Cantera::TransportParams TransportParams \endlink).
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_TRANSPORTPARAMS_H #ifndef CT_TRANSPORTPARAMS_H
#define CT_TRANSPORTPARAMS_H #define CT_TRANSPORTPARAMS_H

View file

@ -1,6 +1,10 @@
/** /**
* @file WaterTransport.h Header file defining class WaterTransport * @file WaterTransport.h Header file defining class WaterTransport
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_WATERTRAN_H #ifndef CT_WATERTRAN_H
#define CT_WATERTRAN_H #define CT_WATERTRAN_H

View file

@ -1,5 +1,8 @@
//! @file ReactorSurface.h Header file for class ReactorSurface //! @file ReactorSurface.h Header file for class ReactorSurface
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_REACTOR_SURFACE_H #ifndef CT_REACTOR_SURFACE_H
#define CT_REACTOR_SURFACE_H #define CT_REACTOR_SURFACE_H

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from ._cantera import * from ._cantera import *
from ._cantera import __version__, __sundials_version__ from ._cantera import __version__, __sundials_version__
from .composite import * from .composite import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from libcpp.vector cimport vector from libcpp.vector cimport vector
from libcpp.string cimport string from libcpp.string cimport string
from libcpp.map cimport map as stdmap from libcpp.map cimport map as stdmap

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
cdef class _SolutionBase: cdef class _SolutionBase:
def __cinit__(self, infile='', phaseid='', phases=(), origin=None, def __cinit__(self, infile='', phaseid='', phases=(), origin=None,
source=None, thermo=None, species=(), kinetics=None, source=None, thermo=None, species=(), kinetics=None,

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from ._cantera import * from ._cantera import *
import numpy as np import numpy as np
import csv as _csv import csv as _csv

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
cdef extern from "cantera/base/ct_defs.h" namespace "Cantera": cdef extern from "cantera/base/ct_defs.h" namespace "Cantera":
cdef double CxxAvogadro "Cantera::Avogadro" cdef double CxxAvogadro "Cantera::Avogadro"
cdef double CxxGasConstant "Cantera::GasConstant" cdef double CxxGasConstant "Cantera::GasConstant"

View file

@ -16,6 +16,9 @@
# #
# This will produce CTML file 'infile.xml' # This will produce CTML file 'infile.xml'
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from __future__ import print_function from __future__ import print_function
import sys import sys

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
cdef double func_callback(double t, void* obj, void** err): cdef double func_callback(double t, void* obj, void** err):

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
# NOTE: These cdef functions cannot be members of Kinetics because they would # NOTE: These cdef functions cannot be members of Kinetics because they would
# cause "layout conflicts" when creating derived classes with multiple bases, # cause "layout conflicts" when creating derived classes with multiple bases,
# e.g. class Solution. [Cython 0.16] # e.g. class Solution. [Cython 0.16]

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from . import PureFluid from . import PureFluid
def Water(): def Water():

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from __future__ import print_function from __future__ import print_function
from types import * from types import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import os, math, string, sys import os, math, string, sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from __future__ import print_function from __future__ import print_function
import sys import sys

View file

@ -3,6 +3,9 @@
# the selected elements # the selected elements
# #
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import os, math,sys import os, math,sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from __future__ import print_function from __future__ import print_function
import os, math, sys import os, math, sys

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from cantera import * from cantera import *
import sys import sys

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from cantera import gas_constant from cantera import gas_constant
from numpy import zeros, ones from numpy import zeros, ones
from .utilities import handleError from .utilities import handleError

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from cantera import * from cantera import *
import sys import sys

View file

@ -3,6 +3,9 @@
# the selected elements # the selected elements
# #
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,4 +1,5 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from cantera import * from cantera import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,4 +1,5 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
# functionality imports # functionality imports
import sys import sys

View file

@ -4,6 +4,9 @@
# #
############################################################################# #############################################################################
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
# options # options
_app_title = 'MixMaster' _app_title = 'MixMaster'
_app_version = '1.0' _app_version = '1.0'

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
from tkinter import * from tkinter import *

View file

@ -1,3 +1,5 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
if sys.version_info[0] == 3: if sys.version_info[0] == 3:

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import string import string
import os, sys import os, sys
import types, traceback import types, traceback

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import warnings import warnings
# Need a pure-python class to store weakrefs to # Need a pure-python class to store weakrefs to

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import numpy as np import numpy as np
from ._cantera import * from ._cantera import *
from .composite import Solution from .composite import Solution

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import interrupts import interrupts
# Need a pure-python class to store weakrefs to # Need a pure-python class to store weakrefs to

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
cdef extern from "cantera/kinetics/reaction_defs.h" namespace "Cantera": cdef extern from "cantera/kinetics/reaction_defs.h" namespace "Cantera":
cdef int ELEMENTARY_RXN cdef int ELEMENTARY_RXN
cdef int THREE_BODY_RXN cdef int THREE_BODY_RXN

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
cdef class ReactionPathDiagram: cdef class ReactionPathDiagram:
def __cinit__(self, *args, **kwargs): def __cinit__(self, *args, **kwargs):
self._log = new CxxStringStream() self._log = new CxxStringStream()

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
from collections import defaultdict as _defaultdict from collections import defaultdict as _defaultdict
import numbers as _numbers import numbers as _numbers

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
cdef extern from "cantera/thermo/speciesThermoTypes.h" namespace "Cantera": cdef extern from "cantera/thermo/speciesThermoTypes.h" namespace "Cantera":
cdef int SPECIES_THERMO_CONSTANT_CP "CONSTANT_CP" cdef int SPECIES_THERMO_CONSTANT_CP "CONSTANT_CP"
cdef int SPECIES_THERMO_NASA2 "NASA2" cdef int SPECIES_THERMO_NASA2 "NASA2"

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import warnings import warnings
import weakref import weakref

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
# NOTE: These cdef functions cannot be members of Transport because they would # NOTE: These cdef functions cannot be members of Transport because they would
# cause "layout conflicts" when creating derived classes with multiple bases, # cause "layout conflicts" when creating derived classes with multiple bases,
# e.g. class Solution. [Cython 0.16] # e.g. class Solution. [Cython 0.16]

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import os import os
import inspect as _inspect import inspect as _inspect

View file

@ -1,3 +1,6 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at http://www.cantera.org/license.txt for license and copyright information.
import sys import sys
cdef int _pythonMajorVersion = sys.version_info[0] cdef int _pythonMajorVersion = sys.version_info[0]

View file

@ -2,6 +2,9 @@
* @file ValueCache.cpp * @file ValueCache.cpp
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#include "cantera/base/ValueCache.h" #include "cantera/base/ValueCache.h"
#include <mutex> #include <mutex>

View file

@ -1,4 +1,8 @@
//! @file application.cpp //! @file application.cpp
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#include "application.h" #include "application.h"
#include "cantera/base/ctml.h" #include "cantera/base/ctml.h"

View file

@ -1,4 +1,8 @@
//! @file application.h //! @file application.h
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_BASE_APPLICATION_H #ifndef CT_BASE_APPLICATION_H
#define CT_BASE_APPLICATION_H #define CT_BASE_APPLICATION_H

View file

@ -1,4 +1,8 @@
//! @file ctexceptions.cpp //! @file ctexceptions.cpp
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "application.h" #include "application.h"
#include "cantera/base/global.h" #include "cantera/base/global.h"

View file

@ -1,5 +1,8 @@
//! @file global.cpp //! @file global.cpp
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#include "cantera/base/FactoryBase.h" #include "cantera/base/FactoryBase.h"
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "application.h" #include "application.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file Cabinet.h * @file Cabinet.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_CABINET_H #ifndef CT_CABINET_H
#define CT_CABINET_H #define CT_CABINET_H

View file

@ -2,6 +2,9 @@
* @file clib_defs.h * @file clib_defs.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_DEFS_H #ifndef CTC_DEFS_H
#define CTC_DEFS_H #define CTC_DEFS_H

View file

@ -2,6 +2,9 @@
* @file clib_utils.h * @file clib_utils.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CT_CLIB_UTILS_H #ifndef CT_CLIB_UTILS_H
#define CT_CLIB_UTILS_H #define CT_CLIB_UTILS_H

View file

@ -8,6 +8,9 @@
* pointers are passed to or from the calling application. * pointers are passed to or from the calling application.
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#define CANTERA_USE_INTERNAL #define CANTERA_USE_INTERNAL
#include "ct.h" #include "ct.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file ct.h * @file ct.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_CT_H #ifndef CTC_CT_H
#define CTC_CT_H #define CTC_CT_H

View file

@ -1,6 +1,10 @@
/** /**
* @file ctbdry.h * @file ctbdry.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_BDRY_H #ifndef CTC_BDRY_H
#define CTC_BDRY_H #define CTC_BDRY_H

View file

@ -1,6 +1,10 @@
/** /**
* @file ctfunc.cpp * @file ctfunc.cpp
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#define CANTERA_USE_INTERNAL #define CANTERA_USE_INTERNAL
#include "ctfunc.h" #include "ctfunc.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file ctfunc.h * @file ctfunc.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_FUNC1_H #ifndef CTC_FUNC1_H
#define CTC_FUNC1_H #define CTC_FUNC1_H

View file

@ -1,6 +1,10 @@
/** /**
* @file ctmultiphase.cpp * @file ctmultiphase.cpp
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#define CANTERA_USE_INTERNAL #define CANTERA_USE_INTERNAL
#include "ctmultiphase.h" #include "ctmultiphase.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file ctmultiphase.h * @file ctmultiphase.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_MULTIPHASE_H #ifndef CTC_MULTIPHASE_H
#define CTC_MULTIPHASE_H #define CTC_MULTIPHASE_H

View file

@ -1,6 +1,10 @@
/** /**
* @file ctonedim.cpp * @file ctonedim.cpp
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#define CANTERA_USE_INTERNAL #define CANTERA_USE_INTERNAL
#include "ctonedim.h" #include "ctonedim.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file ctonedim.h * @file ctonedim.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_ONEDIM_H #ifndef CTC_ONEDIM_H
#define CTC_ONEDIM_H #define CTC_ONEDIM_H

View file

@ -1,6 +1,10 @@
/** /**
* @file ctreactor.cpp * @file ctreactor.cpp
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#define CANTERA_USE_INTERNAL #define CANTERA_USE_INTERNAL
#include "ctreactor.h" #include "ctreactor.h"

View file

@ -1,6 +1,10 @@
/** /**
* @file ctreactor.h * @file ctreactor.h
*/ */
// This file is part of Cantera. See License.txt in the top-level directory or
// at http://www.cantera.org/license.txt for license and copyright information.
#ifndef CTC_REACTOR_H #ifndef CTC_REACTOR_H
#define CTC_REACTOR_H #define CTC_REACTOR_H

Some files were not shown because too many files have changed in this diff Show more