Skip to content

Commit

Permalink
Refactor (mir::repres::other::UnstructuredGrid is used in pgen-filter)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel committed Sep 25, 2024
1 parent 99862da commit 4e06cbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mir/action/transform/ShToGridDef.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "mir/action/transform/InvtransScalar.h"
#include "mir/action/transform/InvtransVodTouv.h"
#include "mir/param/MIRParametrisation.h"
#include "mir/repres/UnstructuredGrid.h"
#include "mir/repres/other/UnstructuredGrid.h"
#include "mir/util/Exceptions.h"


Expand Down Expand Up @@ -66,7 +66,7 @@ const char* ShToGridDef<Invtrans>::ShToGridDef::name() const {

template <class Invtrans>
const repres::Representation* ShToGridDef<Invtrans>::outputRepresentation() const {
return new repres::UnstructuredGrid(griddef_);
return new repres::other::UnstructuredGrid(griddef_);
}


Expand Down
4 changes: 2 additions & 2 deletions src/mir/action/transform/ShToPoints.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "mir/action/transform/InvtransScalar.h"
#include "mir/action/transform/InvtransVodTouv.h"
#include "mir/param/MIRParametrisation.h"
#include "mir/repres/UnstructuredGrid.h"
#include "mir/repres/other/UnstructuredGrid.h"
#include "mir/util/Exceptions.h"


Expand Down Expand Up @@ -69,7 +69,7 @@ const char* ShToPoints<Invtrans>::name() const {

template <class Invtrans>
const repres::Representation* ShToPoints<Invtrans>::outputRepresentation() const {
return new repres::UnstructuredGrid(latitudes_, longitudes_);
return new repres::other::UnstructuredGrid(latitudes_, longitudes_);
}


Expand Down

0 comments on commit 4e06cbc

Please sign in to comment.