Changeset 891 for XIOS/trunk/src/generate_fortran_interface.cpp
- Timestamp:
- 07/05/16 15:59:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/generate_fortran_interface.cpp
r786 r891 5 5 #include "object_template.hpp" 6 6 #include "group_template.hpp" 7 //#include "context.hpp"8 //#include "file.hpp"9 //#include "zoom_domain.hpp"10 //#include "zoom_axis.hpp"11 //#include "interpolate_axis.hpp"12 //#include "interpolate_domain.hpp"13 7 #include "node_type.hpp" 14 8 … … 20 14 CContext* context=CContext::create("interface"); 21 15 CCalendarWrapper calendarWrapper; 16 CScalar scalar; 17 CScalarGroup scalargroup; 22 18 CAxis axis; 23 19 CAxisGroup axisgroup; … … 34 30 CFileGroup filegroup; 35 31 32 CInterpolateDomain interpolateDomain; 36 33 CZoomDomain zoomDomain; 34 CGenerateRectilinearDomain genDomain; 35 36 CInterpolateAxis interpolateAxis; 37 37 CZoomAxis zoomAxis; 38 39 CInterpolateAxis interpolateAxis;40 CInterpolateDomain interpolateDomain;41 42 CGenerateRectilinearDomain genDomain;43 38 CInverseAxis inverseAxis; 39 40 CReduceAxisToScalar reduceAxisToScalar; 44 41 45 42 ostringstream oss; 46 43 ofstream file; 47 44 45 file.open((path+"scalar_interface_attr.F90").c_str()); 46 scalar.generateFortran2003Interface(file); 47 file.close(); 48 49 file.open((path+"icscalar_attr.cpp").c_str()); 50 scalar.generateCInterface(file); 51 file.close(); 52 53 file.open((path+"iscalar_attr.F90").c_str()); 54 scalar.generateFortranInterface(file); 55 file.close(); 56 57 file.open((path+"scalargroup_interface_attr.F90").c_str()); 58 scalargroup.generateFortran2003Interface(file); 59 file.close(); 60 61 file.open((path+"icscalargroup_attr.cpp").c_str()); 62 scalargroup.generateCInterface(file); 63 file.close(); 64 65 file.open((path+"iscalargroup_attr.F90").c_str()); 66 scalargroup.generateFortranInterface(file); 67 file.close(); 68 48 69 file.open((path+"axis_interface_attr.F90").c_str()); 49 70 axis.generateFortran2003Interface(file); … … 281 302 file.close(); 282 303 304 file.open((path+"reduce_axis_to_scalar_interface_attr.F90").c_str()); 305 reduceAxisToScalar.generateFortran2003Interface(file); 306 file.close(); 307 308 file.open((path+"icreduce_axis_to_scalar_attr.cpp").c_str()); 309 reduceAxisToScalar.generateCInterface(file); 310 file.close(); 311 312 file.open((path+"ireduce_axis_to_scalar_attr.F90").c_str()); 313 reduceAxisToScalar.generateFortranInterface(file); 314 file.close(); 315 283 316 file.open((path+"context_interface_attr.F90").c_str()); 284 317 context->generateFortran2003Interface(file);
Note: See TracChangeset
for help on using the changeset viewer.