/[ascend]/branches/jacob/models/johnpye/fprops/mixtures/mixture_prepare.h
ViewVC logotype

Contents of /branches/jacob/models/johnpye/fprops/mixtures/mixture_prepare.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3034 - (show annotations) (download) (as text)
Wed Jul 29 16:56:09 2015 UTC (4 years ago) by jacob
File MIME type: text/x-chdr
File size: 1318 byte(s)
Move mixture library file to be in the same folder as all the other FPROPS library files.

ASCEND is importing the final mixture library file fine, but seems to encounter segmentation faults when specifying mixture composition.

Also rearranged some of the generic and phase-equilibrium functions, for more logical organization.

1 /* ASCEND modelling environment
2 Copyright (C) Carnegie Mellon University
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation --
17
18 Free Software Foundation, Inc.
19 59 Temple Place - Suite 330
20 Boston, MA 02111-1307, USA.
21 *//*
22 by Jacob Shealy, June 26-, 2015
23
24 Prototypes for functions to prepare structs to represent mixtures to model
25 */
26
27 #ifndef MIX_PREPARE_HEADER
28 #define MIX_PREPARE_HEADER
29
30 #include "mixture_generics.h"
31 #include "mixture_struct.h"
32
33 void mixture_specify(MixtureSpec *MS, const unsigned npure, const double *Xs
34 , const void **fluids, const char *type, const char **source, MixtureError *merr);
35 /* void mixture_fluid_spec(MixtureSpec *MS, unsigned npure, void **fluids, char *type, char **source, MixtureError *merr); */
36
37 #endif

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22