|
◆ init_periodic_data()
void pism::array::Forcing::init_periodic_data |
( |
const File & |
file | ) |
|
|
private |
Read all periodic data from the file and add two more records to simplify interpolation.
Definition at line 314 of file Forcing.cc.
References pism::array::Array2D< double >::array(), array3(), pism::array::Forcing::Data::buffer_size, pism::LocalInterpCtx::count, pism::File::find_variable(), pism::array::Forcing::Data::first, pism::petsc::VecArray::get(), pism::array::Array::get_name(), pism::array::Array::grid(), pism::array::Forcing::Data::interp_type, pism::array::Array::Impl::interpolation_type, pism::array::Array::levels(), pism::LINEAR, m_data, pism::array::Array::m_impl, pism::array::Array::metadata(), pism::array::Array::Impl::metadata, pism::array::Forcing::Data::n_records, pism::File::nrecords(), pism::PIECEWISE_CONSTANT, PISM_ERROR_LOCATION, pism::io::regrid_spatial_variable(), set_record(), pism::LocalInterpCtx::start, pism::T_AXIS, pism::array::Forcing::Data::time, pism::array::Forcing::Data::time_range, pism::VariableMetadata::unit_system(), and pism::array::Array::vec().
Referenced by init().
|