Skip to content

Remove mesh lib on file io dependency#1153

Merged
endJunction merged 2 commits intoufz:masterfrom
endJunction:RemoveMeshLibOnFileIODependency
Apr 21, 2016
Merged

Remove mesh lib on file io dependency#1153
endJunction merged 2 commits intoufz:masterfrom
endJunction:RemoveMeshLibOnFileIODependency

Conversation

@endJunction
Copy link
Copy Markdown
Member

@endJunction endJunction commented Apr 19, 2016

Somehow this dependency slipped past my mind.
Moving reading of the file into DE.

Use instead layered mesh constructor taking a GeoLib::Raster.
Reading of the raster happens inside the application now.

Typo was "wher". No changes to the comment otherwise.

{
OGSError::box(QString::fromStdString(
"Error mapping mesh. Could not read raster file " +
dlg.getRasterPath()));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice side effect: A possible error message can be displayed directly in the DataExplorer.

@TomFischer
Copy link
Copy Markdown
Member

@chleh
Copy link
Copy Markdown
Collaborator

chleh commented Apr 21, 2016


@endJunction, once you have finished disentangling the various OGS6 libs, could you please provide a drawing (maybe hand-drawn) depicting the dependency graph among the libs, because sometimes there could be two options: E.g., either MeshLib depends on FileIO or the other way around.

@endJunction
Copy link
Copy Markdown
Member Author

endJunction commented Apr 21, 2016

For uptodate relations see Doxygen, e.g. for MeshLib where there is MeshLib<->FileIO dependency, but will be "FileIO depends on MeshLib only" after this is merged.
(Though the docs are rebuild nightly, not after every merge.)

Use instead layered mesh constructor taking a GeoLib::Raster.
Reading of the raster happens inside the application now.
@endJunction endJunction merged commit 2c15d6e into ufz:master Apr 21, 2016
@endJunction endJunction deleted the RemoveMeshLibOnFileIODependency branch April 21, 2016 12:31
@ogsbot
Copy link
Copy Markdown
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants