#include "WriteSLAC.hpp"
#include <utility>
#include <algorithm>
#include <ctime>
#include <string>
#include <vector>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <cassert>
#include "netcdf.h"
#include "moab/Interface.hpp"
#include "moab/Range.hpp"
#include "moab/CN.hpp"
#include "Internals.hpp"
#include "ExoIIUtil.hpp"
#include "MBTagConventions.hpp"
#include "moab/WriteUtilIface.hpp"
Go to the source code of this file.
|
| moab |
| Class representing axis-aligned bounding box.
|
|
◆ GET_VAR
#define GET_VAR |
( |
|
name, |
|
|
|
id, |
|
|
|
dims |
|
) |
| |
Value: { \
( id ) = -1; \
int gvfail = nc_inq_varid(
ncFile, name, &(
id ) ); \
if( NC_NOERR == gvfail ) \
{ \
int ndims; \
gvfail = nc_inq_varndims(
ncFile,
id, &ndims ); \
if( NC_NOERR == gvfail ) \
{ \
( dims ).resize( ndims ); \
gvfail = nc_inq_vardimid(
ncFile,
id, &( dims )[0] ); \
} \
} \
}
Definition at line 52 of file WriteSLAC.cpp.