escript  Revision_
NCHelper.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2017-2018 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 #ifndef __ESCRIPT_NCHELPER_H__
19 #define __ESCRIPT_NCHELPER_H__
20 
21 #include "system_dep.h"
22 
23 namespace escript
24 {
25 #ifndef _WIN32
26 #include <string>
27 #endif
29 char NcFType(const std::string& name);
30 }
31 
32 #ifdef NETCDF4
33 #include <ncFile.h>
34 namespace escript
35 {
37 bool openNcFile(netCDF::NcFile& f, const std::string& name);
38 }
39 #endif
40 
41 #endif
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:30
Definition: AbstractContinuousDomain.cpp:23
char NcFType(const std::string &name)
Definition: NCHelper.cpp:28