Add license/copyright info to files that were missing it
This commit is contained in:
parent
ecbfecd7fd
commit
ae6e7fdff7
201 changed files with 684 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CXX_EDGE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CXX_IDEALGASMIX
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CXX_INCOMPRESSIBLE
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
* @file Interface.h
|
||||
* 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
|
||||
#define CXX_INTERFACE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CXX_METAL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CXX_PUREFLUID
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
* @file FactoryBase.h
|
||||
* 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
|
||||
#define CT_FACTORY_BASE
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_VALUECACHE_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
* Header for Base class for 'loggers' that write text messages to log files
|
||||
* (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
|
||||
#define CT_LOGGER_H
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#define CT_CYTHON_FUNC_WRAPPER
|
||||
|
||||
|
|
|
|||
|
|
@ -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/thermo/ThermoPhase.h"
|
||||
#include "cantera/transport/TransportBase.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CT_MULTIPHASE_EQUIL
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
* @file vcs_MultiPhaseEquil.h
|
||||
* 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
|
||||
#define VCS_MULTIPHASEEQUIL_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define VCS_SPECIES_PROPERTIES_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
* @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
|
||||
#define CT_BULKKINETICS_H
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#define CT_FALLOFF_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_REACTION_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_THIRDBODYCALC_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_ONEDIM_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_SIM1D_H
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#define CT_REFINE_H
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
* on a piecewise constant mu0 interpolation
|
||||
* (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
|
||||
#define CT_MU0POLY_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
* Header for a general species thermodynamic property manager for a phase (see
|
||||
* \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
|
||||
#define CT_MULTISPECIESTHERMO_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
//! @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
|
||||
#define CT_SPECIES_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define TPX_SUB_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_GAS_TRANSPORT_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
* 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
|
||||
#define CT_HIGHPRESSUREGASTRAN_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
* 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
|
||||
#define CT_LTPSPECIES_H
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
* 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
|
||||
#define CT_LIQUIDTRANINTERACTION_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
* @file LiquidTransport.h
|
||||
* 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
|
||||
#define CT_LIQUIDTRAN_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
* @file LiquidTransportData.h
|
||||
* 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
|
||||
#define CT_LIQUIDTRANSPORTDATA_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
* 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
|
||||
#define CT_LIQUIDTRANSPORTPARAMS_H
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
* transport properties for liquids and solids
|
||||
* (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
|
||||
#define CT_SIMPLETRAN_H
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
* 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
|
||||
#define CT_SOLIDTRANSPORTDATA_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
//! @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
|
||||
#define CT_TRANSPORTDATA_H
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
* processing of the transport object
|
||||
* (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
|
||||
#define CT_TRANSPORTPARAMS_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CT_WATERTRAN_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
//! @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
|
||||
#define CT_REACTOR_SURFACE_H
|
||||
|
||||
|
|
|
|||
|
|
@ -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 __version__, __sundials_version__
|
||||
from .composite import *
|
||||
|
|
|
|||
|
|
@ -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.string cimport string
|
||||
from libcpp.map cimport map as stdmap
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
def __cinit__(self, infile='', phaseid='', phases=(), origin=None,
|
||||
source=None, thermo=None, species=(), kinetics=None,
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
import numpy as np
|
||||
import csv as _csv
|
||||
|
|
|
|||
|
|
@ -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 double CxxAvogadro "Cantera::Avogadro"
|
||||
cdef double CxxGasConstant "Cantera::GasConstant"
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@
|
|||
#
|
||||
# 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
|
||||
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
cdef double func_callback(double t, void* obj, void** err):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
# cause "layout conflicts" when creating derived classes with multiple bases,
|
||||
# e.g. class Solution. [Cython 0.16]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
def Water():
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
|
|
|
|||
|
|
@ -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 types import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
import sys
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
# 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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
import os, math, sys
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -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 numpy import zeros, ones
|
||||
from .utilities import handleError
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
# 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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -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
|
||||
_app_title = 'MixMaster'
|
||||
_app_version = '1.0'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
from tkinter import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
if sys.version_info[0] == 3:
|
||||
|
|
|
|||
|
|
@ -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 os, sys
|
||||
import types, traceback
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
# Need a pure-python class to store weakrefs to
|
||||
|
|
|
|||
|
|
@ -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
|
||||
from ._cantera import *
|
||||
from .composite import Solution
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
# Need a pure-python class to store weakrefs to
|
||||
|
|
|
|||
|
|
@ -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 int ELEMENTARY_RXN
|
||||
cdef int THREE_BODY_RXN
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
def __cinit__(self, *args, **kwargs):
|
||||
self._log = new CxxStringStream()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
import numbers as _numbers
|
||||
|
||||
|
|
|
|||
|
|
@ -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 int SPECIES_THERMO_CONSTANT_CP "CONSTANT_CP"
|
||||
cdef int SPECIES_THERMO_NASA2 "NASA2"
|
||||
|
|
|
|||
|
|
@ -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 weakref
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
# cause "layout conflicts" when creating derived classes with multiple bases,
|
||||
# e.g. class Solution. [Cython 0.16]
|
||||
|
|
|
|||
|
|
@ -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 inspect as _inspect
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
cdef int _pythonMajorVersion = sys.version_info[0]
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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 <mutex>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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 "cantera/base/ctml.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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
|
||||
#define CT_BASE_APPLICATION_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
//! @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 "application.h"
|
||||
#include "cantera/base/global.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
//! @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/xml.h"
|
||||
#include "application.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CT_CABINET_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CTC_DEFS_H
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
* @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
|
||||
#define CT_CLIB_UTILS_H
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
* 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
|
||||
#include "ct.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_CT_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_BDRY_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#include "ctfunc.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_FUNC1_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#include "ctmultiphase.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_MULTIPHASE_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
|
||||
#include "ctonedim.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_ONEDIM_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#include "ctreactor.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
/**
|
||||
* @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
|
||||
#define CTC_REACTOR_H
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue