Debian Codegraph @

yorick/stdplug/gyoto_PolishDoughnut.C

raw symbols SCIP
1 /*
2 Copyright (c) 2012-2013 Thibaut Paumard
3
4 This file is part of Gyoto.
5
6 Gyoto is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 Gyoto is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Gyoto. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include "../ygyoto.h"cxx . . $ `<file>/yorick/ygyoto.h`/
21 #include "yapi.h"
22 #include <GyotoPolishDoughnut.h>cxx . . $ `<file>/include/GyotoPolishDoughnut.h`/
23 #ifdef GYOTO_USE_XERCEScxx . . $ `include/GyotoConfig.h:161:9`!
24 #include <GyotoFactory.h>cxx . . $ `<file>/include/GyotoFactory.h`/
25 #endif
26
27 #include <iostream>
28 using namespace std;
29
30 using namespace Gyoto;
31 using namespace Gyotocxx . . $ Gyoto/::Astrobj;
32
33 // on_eval worker
34 void ygyoto_PolishDoughnut_evalcxx . . $ ygyoto_PolishDoughnut_eval(c9770704c58a8565).(SmartPointercxx . . $ Gyoto/SmartPointer#<Astrobjcxx . . $ Gyoto/Astrobj/::Genericcxx . . $ Gyoto/Astrobj/Generic#>* OBJ_, int argc) {
35
36 static char const * knames[]={
37 "unit",
38 "lambda", "centralenthalpyperunitvolume", "centraltemperature", "beta",
39 "spectraloversampling",
40 "l0", "Wsurface", "Wcentre", "rcusp", "rcentre",
41 YGYOTO_ASTROBJ_GENERIC_KWcxx . . $ `yorick/ygyoto.h:148:9`!,
42 0
43 };
44
45 YGYOTO_WORKER_INITcxx . . $ `yorick/ygyoto.h:254:9`!(Astrobj, PolishDoughnut, knames,
46 YGYOTO_ASTROBJ_GENERIC_KW_Ncxx . . $ `yorick/ygyoto.h:151:9`!+12);
47
48 YGYOTO_WORKER_SET_UNITcxx . . $ `yorick/ygyoto.h:439:9`!;
49 YGYOTO_WORKER_GETSET_DOUBLE2cxx . . $ `yorick/ygyoto.h:372:9`!(lambda);
50 YGYOTO_WORKER_GETSET_DOUBLE2_UNITcxx . . $ `yorick/ygyoto.h:342:9`!(centralEnthalpyPerUnitVolume);
51 YGYOTO_WORKER_GETSET_DOUBLE2cxx . . $ `yorick/ygyoto.h:372:9`!(centralTemp);
52 YGYOTO_WORKER_GETSET_DOUBLE2cxx . . $ `yorick/ygyoto.h:372:9`!(beta);
53 YGYOTO_WORKER_GETSET_LONG2cxx . . $ `yorick/ygyoto.h:402:9`!(spectralOversampling);
54 YGYOTO_WORKER_GET_DOUBLEcxx . . $ `yorick/ygyoto.h:362:9`!(getL0);
55 YGYOTO_WORKER_GET_DOUBLEcxx . . $ `yorick/ygyoto.h:362:9`!(getWsurface);
56 YGYOTO_WORKER_GET_DOUBLEcxx . . $ `yorick/ygyoto.h:362:9`!(getWcentre);
57 YGYOTO_WORKER_GET_DOUBLEcxx . . $ `yorick/ygyoto.h:362:9`!(getRcusp);
58 YGYOTO_WORKER_GET_DOUBLEcxx . . $ `yorick/ygyoto.h:362:9`!(getRcentre);
59
60 YGYOTO_WORKER_CALL_GENERICcxx . . $ `yorick/ygyoto.h:493:9`!(Astrobj);
61 }
62
63
64 extern "C" {
65 void Y__gyoto_PolishDoughnut_register_as_Astrobj(){
66 ygyoto_Astrobj_registercxx . . $ `yorick/ygyoto.h:622:9`!("PolishDoughnut",&ygyoto_PolishDoughnut_eval);
67 }
68
69 // Generic constructor/accessor
70 void
71 Y_gyoto_PolishDoughnut(int argc)
72 {
73 YGYOTO_CONSTRUCTOR_INIT2cxx . . $ `yorick/ygyoto.h:230:9`!(Astrobj, Astrobj::Generic, PolishDoughnut, astrobj);
74 if ((*OBJ)->cxx . . $ Gyoto/SmartPointer#`operator->`(155dc7f103cdb9db).kindcxx . . $ Gyoto/Object#kind(219584694fe2b248).()!=cxx . . $ std/`operator!=`(4b17aa87c9f300c6)."PolishDoughnut")
75 y_error("Expecting Astrobj of kind PolishDoughnut");
76 ygyoto_PolishDoughnut_evalcxx . . $ ygyoto_PolishDoughnut_eval(c9770704c58a8565).(OBJ, argc);
77 }
78
79 }