19 #ifndef PISM_ICEMODELVEC2V_H
20 #define PISM_ICEMODELVEC2V_H
22 #include "pism/util/IceModelVec2.hh"
34 typedef std::shared_ptr<IceModelVec2V>
Ptr;
35 typedef std::shared_ptr<const IceModelVec2V>
ConstPtr;
std::shared_ptr< const IceGrid > ConstPtr
std::shared_ptr< IceModelVec2V > Ptr
IceModelVec2V(IceGrid::ConstPtr grid, const std::string &short_name, IceModelVecKind ghostedp, unsigned int stencil_width=1)
virtual ~IceModelVec2V()=default
std::shared_ptr< const IceModelVec2V > ConstPtr
A storage vector combining related fields in a struct.
unsigned int stencil_width() const
Get the stencil width of the current IceModelVec. Returns 0 if ghosts are not available.
IceGrid::ConstPtr grid() const
std::shared_ptr< IceModelVec2S > duplicate(const IceModelVec2S &source)
IceModelVecKind
What "kind" of a vector to create: with or without ghosts.