Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometry API update #21

Merged
merged 2 commits into from
Sep 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/orca-jedi/geometry/Geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "atlas/field/Field.h"
#include "atlas/field/FieldSet.h"
#include "atlas/functionspace/NodeColumns.h"
#include "atlas/functionspace.h"
#include "atlas/mesh.h"
#include "atlas/grid.h"
#include "atlas/meshgenerator.h"
Expand Down Expand Up @@ -58,6 +59,8 @@ class Geometry : public util::Printable {
const oops::Variables & variables() const;
void latlon(std::vector<double> & lats, std::vector<double> & lons,
const bool halo) const;
const atlas::FunctionSpace & functionSpace() const {return funcSpace_;}
const atlas::FieldSet & extraFields() const {return nofields_;}

const atlas::Grid & grid() const {return grid_;}
const atlas::Mesh & mesh() const {return mesh_;}
Expand All @@ -78,6 +81,7 @@ class Geometry : public util::Printable {
atlas::grid::Partitioner partitioner_;
atlas::Mesh mesh_;
atlas::functionspace::NodeColumns funcSpace_;
atlas::FieldSet nofields_;
};
// -----------------------------------------------------------------------------

Expand Down