Changeset 3177 for trunk/examples/app-fermi/cee
- Timestamp:
- Sep 21, 2012 10:01:16 AM (12 years ago)
- Location:
- trunk/examples/app-fermi/cee
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/app-fermi/cee/fermi.c
r1110 r3177 1 // ---------------------------------------------------------------------- 2 // EXAMPLE: Fermi-Dirac function in Python. 3 // 4 // This simple example shows how to use Rappture within a simulator 5 // written in C. 6 // ====================================================================== 7 // AUTHOR: Derrick Kearney, Purdue University 8 // Copyright (c) 2004-2008 Purdue Research Foundation 9 // 10 // See the file "license.terms" for information on usage and 11 // redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 12 // ====================================================================== 13 1 /* 2 * ---------------------------------------------------------------------- 3 * EXAMPLE: Fermi-Dirac function in Python. 4 * 5 * This simple example shows how to use Rappture within a simulator 6 * written in C. 7 * ====================================================================== 8 * AUTHOR: Derrick Kearney, Purdue University 9 * Copyright (c) 2004-2012 HUBzero Foundation, LLC 10 * 11 * See the file "license.terms" for information on usage and 12 * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 13 * ====================================================================== 14 */ 14 15 #include "rappture.h" 15 16 … … 37 38 int err = 0; 38 39 39 / / create a rappture library from the file filePath40 /* create a rappture library from the file filePath */ 40 41 lib = rpLibrary(argv[1]); 41 42 42 43 if (lib == NULL) { 43 / / cannot open file or out of memory44 /* cannot open file or out of memory */ 44 45 printf("FAILED creating Rappture Library\n"); 45 46 return(1); -
trunk/examples/app-fermi/cee/original.c
r793 r3177 3 3 * ====================================================================== 4 4 * AUTHOR: Michael McLennan, Purdue University 5 * Copyright (c) 2004-20 07 Purdue Research Foundation5 * Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 * 7 7 * See the file "license.terms" for information on usage and
Note: See TracChangeset
for help on using the changeset viewer.