From d707e059e0d8a448a5c3e3a50320c2a3dc36380e Mon Sep 17 00:00:00 2001 From: EmilAtz Date: Thu, 10 Nov 2016 11:19:43 -0500 Subject: [PATCH] [matlab/doc] Update importPhase to Solution for matlab input-tutorial Updated to importPhase to Solution to match current function usage --- doc/sphinx/matlab/input-tutorial.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/sphinx/matlab/input-tutorial.rst b/doc/sphinx/matlab/input-tutorial.rst index c19f26a9c..e14083ee7 100644 --- a/doc/sphinx/matlab/input-tutorial.rst +++ b/doc/sphinx/matlab/input-tutorial.rst @@ -10,9 +10,9 @@ CTI files This is the typical way to create a Cantera "phase" object in Matlab:: - gas1 = importPhase('gri30.cti', 'gri30'); + gas1 = Solution('gri30.cti', 'gri30'); -Function ``importPhase`` constructs an object representing a phase of matter by +Function ``Solution`` constructs an object representing a phase of matter by reading in attributes of the phase from a file, which in this case is ``gri30.cti``. This file contains several phase specifications; the one we want here is ``gri30``, which is specified by the second argument. This file contains @@ -48,8 +48,8 @@ A Cantera input file may contain more than one phase specification, or may contain specifications of interfaces (surfaces). Here we import definitions of two bulk phases and the interface between them from file ``diamond.cti``:: - gas2 = importPhase('diamond.cti', 'gas'); % a gas - diamond = importPhase('diamond.cti', 'diamond'); % bulk diamond + gas2 = Solution('diamond.cti', 'gas'); % a gas + diamond = Solution('diamond.cti', 'diamond'); % bulk diamond diamond_surf = importInterface('diamond.cti', 'diamond_100', ... gas2, diamond);