Skip to content

File netcdf_writer.hpp

FileList > include > multigrid > netcdf_writer.hpp

Go to the source code of this file

Public netCDF-4 solution writer. More...

  • #include <memory>
  • #include <string>

Namespaces

Type Name
namespace mgrid

Classes

Type Name
class NcWriter
Incremental writer for a gridded solution file (netCDF-4).

Detailed Description

The netCDF-C++ dependency is hidden behind a PIMPL: this header pulls in no netCDF headers, so it is safe to include from example programs and downstream code that does not link netCDF directly. The concrete implementation lives in src/netcdf_writer.cpp and is compiled into libmultigrid, which links netcdf-cxx4 privately. <netcdf> is therefore still confined to src/.


The documentation for this class was generated from the following file include/multigrid/netcdf_writer.hpp