PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Enumerations | Functions
Array.hh File Reference
#include <initializer_list>
#include <memory>
#include <cstdint>
#include <array>
#include "pism/util/error_handling.hh"

Go to the source code of this file.

Classes

class  pism::PetscAccessible
 
class  pism::array::AccessScope
 Makes sure that we call begin_access() and end_access() for all accessed array::Arrays. More...
 
class  pism::array::Array
 Abstract class for reading, writing, allocating, and accessing a DA-based PETSc Vec (2D and 3D fields) from within IceModel. More...
 

Namespaces

 pism
 
 pism::io
 Input and output code (NetCDF wrappers, etc)
 
 pism::petsc
 Wrappers for some PETSc objects (these wrappers simplify memory management).
 
 pism::units
 
 pism::array
 

Enumerations

enum  pism::array::Kind { pism::array::WITHOUT_GHOSTS =0 , pism::array::WITH_GHOSTS =1 }
 What "kind" of a vector to create: with or without ghosts. More...
 

Functions

template<class F , typename T >
pism::array::interpolate (const F &field, double x, double y)
 
template<class T >
static std::shared_ptr< T > pism::array::cast (std::shared_ptr< Array > input)
 std::dynamic_pointer_cast wrapper that checks if the cast succeeded. More...
 
void pism::convert_vec (petsc::Vec &v, std::shared_ptr< units::System > system, const std::string &spec1, const std::string &spec2)