|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
#include <InputInterpolationYAC.hh>
Inheritance diagram for pism::InputInterpolationYAC:Public Member Functions | |
| InputInterpolationYAC (const Grid &target_grid, const File &input_file, const std::string &variable_name, InterpolationType type) | |
| virtual | ~InputInterpolationYAC () |
| void | regrid (const File &file, array::Scalar &output) const |
Public Member Functions inherited from pism::InputInterpolation | |
| virtual | ~InputInterpolation ()=default |
| double | regrid (const SpatialVariableMetadata &metadata, const pism::File &file, int record_index, const Grid &grid, petsc::Vec &output) const |
Private Member Functions | |
| double | regrid_impl (const SpatialVariableMetadata &metadata, const pism::File &file, int record_index, const Grid &target_grid, petsc::Vec &output) const |
| double | interpolate (const array::Scalar &source, petsc::Vec &target) const |
Static Private Member Functions | |
| static int | define_field (int component_id, const std::vector< double > &x, const std::vector< double > &y, const std::string &proj_string, const std::string &name) |
| static int | define_grid (const std::vector< double > &x, const std::vector< double > &y, const std::string &grid_name, const std::string &projection) |
Private Attributes | |
| int | m_instance_id |
| int | m_source_field_id |
| int | m_target_field_id |
| std::shared_ptr< array::Scalar > | m_buffer |
Additional Inherited Members | |
Static Public Member Functions inherited from pism::InputInterpolation | |
| static std::shared_ptr< InputInterpolation > | create (const Grid &target_grid, const std::vector< double > &levels, const File &input_file, const std::string &variable_name, InterpolationType type) |
Protected Member Functions inherited from pism::InputInterpolation | |
| InputInterpolation () | |
Interpolation from a Cartesian projected grid in an input_file.
An input_file has to contain projection information (any of the options supported by MappingInfo::FromFile()).
Definition at line 47 of file InputInterpolationYAC.hh.