added cantera_iface

This commit is contained in:
Dave Goodwin 2007-12-18 02:41:05 +00:00
parent e581fe0d85
commit 97b4c08a56

View file

@ -0,0 +1,31 @@
module cantera_iface
use fct
use cantera_xml
use cantera_thermo
use cantera_kinetics
type interface_t
type(phase_t) :: gas
type(phase_t) :: bulk
type(phase_t) :: surf
end type interface_t
contains
type(interface_t) function newInterface(xml_phase, surf, gas, bulk)
implicit none
type(XML_Node), intent(inout):: xml_phase
type(phase_t) :: gas
type(phase_t) :: bulk
type(phase_t) :: surf
type(interface_t) :: iface
iface%gas = gas
iface%bulk = bulk
iface%surf = surf
call newKinetics(xml_phase, surf, gas, bulk)
newInterface = iface
end function newInterface
end module cantera_iface