Changeset 3472 for vendors/XIOS/current
- Timestamp:
- 2012-09-07T12:13:12+02:00 (12 years ago)
- Location:
- vendors/XIOS/current
- Files:
-
- 4 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
vendors/XIOS/current/bld.cfg
r3428 r3472 35 35 bld::tool::cc %CCOMPILER 36 36 bld::tool::fc %FCOMPILER 37 bld::tool::fpp cpp 37 bld::tool::fpp cpp -P 38 38 bld::tool::cpp cpp 39 39 bld::tool::cppflags %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -
vendors/XIOS/current/extern/boost/include/boost/config/select_compiler_config.hpp
r3428 r3472 121 121 // example) also #define _MSC_VER 122 122 # define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp" 123 #elif defined _CRAYC 124 // EDG based Cray compiler: 125 # define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp" 123 126 124 127 #elif defined (BOOST_ASSERT_CONFIG) -
vendors/XIOS/current/src/attribute_template.hpp
r3428 r3472 40 40 41 41 /// Accesseur /// 42 inlineValueType getValue(void) const;43 inlineValueType* getRef(void) ;42 ValueType getValue(void) const; 43 ValueType* getRef(void) ; 44 44 45 45 /// Mutateurs /// 46 inlinevoid setValue(const ValueType & value);46 void setValue(const ValueType & value); 47 47 48 48 /// Destructeur /// -
vendors/XIOS/current/src/generate_interface_impl.hpp
r3428 r3472 207 207 } 208 208 209 #define macro(T)\ 209 #define macro(T)\ 210 210 template <>\ 211 211 void CInterface::AttributeFortran2003Interface<ARRAY(T,1)>(ostream& oss,const string& className,const string& name) \ … … 309 309 } 310 310 311 #define macro(T)\ 311 #define macro(T)\ 312 312 template <> \ 313 313 void CInterface::AttributeFortranInterfaceDeclaration<ARRAY(T,1)>(ostream& oss,const string& className,const string& name) \ -
vendors/XIOS/current/src/group_factory.hpp
r3428 r3472 23 23 24 24 template <typename U> 25 static inlinevoid AddGroup(boost::shared_ptr<U> pgroup,25 static void AddGroup(boost::shared_ptr<U> pgroup, 26 26 boost::shared_ptr<U> cgroup); 27 27 28 28 template <typename U> 29 static inlinevoid AddChild(boost::shared_ptr<U> group,29 static void AddChild(boost::shared_ptr<U> group, 30 30 boost::shared_ptr<typename U::RelChild> child); 31 31 … … 34 34 35 35 template <typename U> 36 static inlineboost::shared_ptr<U>36 static boost::shared_ptr<U> 37 37 GetGroup(boost::shared_ptr<U> group, const StdString & id); 38 38 39 39 template <typename U> 40 static inlineboost::shared_ptr<typename U::RelChild>40 static boost::shared_ptr<typename U::RelChild> 41 41 GetChild(boost::shared_ptr<U> group, const StdString & id); 42 42 43 43 template <typename U> 44 static in line int GetGroupNum(boost::shared_ptr<U> group);44 static int GetGroupNum(boost::shared_ptr<U> group); 45 45 template <typename U> 46 static in line int GetGroupIdNum(boost::shared_ptr<U> group);46 static int GetGroupIdNum(boost::shared_ptr<U> group); 47 47 template <typename U> 48 static in line int GetChildNum(boost::shared_ptr<U> group);48 static int GetChildNum(boost::shared_ptr<U> group); 49 49 template <typename U> 50 static in line int GetChildIdNum(boost::shared_ptr<U> group);50 static int GetChildIdNum(boost::shared_ptr<U> group); 51 51 52 52 /// Tests /// 53 53 template <typename U> 54 static inlinebool HasGroup(boost::shared_ptr<U> group, const StdString & id);54 static bool HasGroup(boost::shared_ptr<U> group, const StdString & id); 55 55 56 56 template <typename U> 57 static inlinebool HasChild(boost::shared_ptr<U> group, const StdString & id);57 static bool HasChild(boost::shared_ptr<U> group, const StdString & id); 58 58 59 59 /// Instanciateur /// 60 60 template <typename U> 61 static inlineboost::shared_ptr<U>61 static boost::shared_ptr<U> 62 62 CreateGroup(boost::shared_ptr<U> group, const StdString & id = StdString("")); 63 63 64 64 template <typename U> 65 static inlineboost::shared_ptr<typename U::RelChild>65 static boost::shared_ptr<typename U::RelChild> 66 66 CreateChild(boost::shared_ptr<U> group, const StdString & id = StdString("")); 67 67 -
vendors/XIOS/current/src/group_template.hpp
r3428 r3472 55 55 56 56 /// Accesseurs statiques /// 57 static inlineStdString GetName(void);58 static inlineStdString GetDefName(void);57 static StdString GetName(void); 58 static StdString GetDefName(void); 59 59 60 60 /// Traitements /// -
vendors/XIOS/current/src/node/context.cpp
r3428 r3472 248 248 { 249 249 #define DECLARE_NODE(Name_, name_) \ 250 if (C##Name_##Definition::has(C##Name_##Definition::GetDefName())) \ 250 if (C##Name_##Definition::has(C##Name_##Definition::GetDefName())) \ 251 251 C##Name_##Definition::get(C##Name_##Definition::GetDefName())->solveDescInheritance(); 252 252 #define DECLARE_NODE_PAR(Name_, name_) -
vendors/XIOS/current/src/output/onetcdf4.cpp
r3428 r3472 360 360 const std::vector<StdSize> & scount, double * data) 361 361 { 362 cout<<"writeData_"<<endl ; 363 for(int i=0;i<sstart.size();i++) cout<<sstart[i]<<" " ; 364 cout<<endl ; 365 for(int i=0;i<scount.size();i++) cout<<scount[i]<<" " ; 366 cout<<endl ; 367 362 368 CheckError(nc_put_vara_double(grpid, varid, &(sstart[0]), &(scount[0]), data)); 363 369 // sync() ; -
vendors/XIOS/current/src/output/onetcdf4.hpp
r3428 r3472 11 11 #define MPI_INCLUDED 12 12 #include <netcdf.h> 13 #ifdef NETCDF_PAR_HEADER 13 14 extern "C" { 14 15 #include <netcdf_par.h> 15 16 } 17 #endif 16 18 17 19 -
vendors/XIOS/current/src/output/onetcdf4_impl.hpp
r3428 r3472 45 45 if (value != NULL) 46 46 { 47 CheckError(nc_def_var_fill(grpid, varid, 0, value));47 CheckError(nc_def_var_fill(grpid, varid, 0, (void*)value)); 48 48 this->addAttribute(StdString("missing_value"), *value, &varname); 49 49 } -
vendors/XIOS/current/src/type/type_specialisation.hpp
r3428 r3472 96 96 */ 97 97 98 #define CTYPE_ARRAY(ValueType,NumsDims) \ 98 #define CTYPE_ARRAY(ValueType,NumsDims) \ 99 99 template<> \ 100 100 size_t CType< ARRAY(ValueType,NumsDims)>::size() const \
Note: See TracChangeset
for help on using the changeset viewer.