From 3866c6aceec40f3830ef06dddf6ec8d0f0d0308f Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Tue, 18 Mar 2008 11:35:28 +0000 Subject: [PATCH] *** empty log message *** --- Plugin/Makefile | 4 ++-- demos/gen_earth_100km.geo | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 demos/gen_earth_100km.geo diff --git a/Plugin/Makefile b/Plugin/Makefile index c4447f250a..8e3ef0018a 100644 --- a/Plugin/Makefile +++ b/Plugin/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.154 2008-03-18 11:33:08 remacle Exp $ +# $Id: Makefile,v 1.155 2008-03-18 11:35:28 remacle Exp $ # # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # @@ -44,7 +44,7 @@ SRC = Plugin.cpp PluginManager.cpp\ Skin.cpp\ Extract.cpp ExtractElements.cpp ExtractEdges.cpp\ MakeSimplex.cpp\ - Evaluate.cpp FieldView.cpp GSHHS.cpp\ + Evaluate.cpp FieldView.cpp GSHHS.cpp GeoEarthImport.cpp\ Integrate.cpp Gradient.cpp Curl.cpp Divergence.cpp\ Annotate.cpp Remove.cpp\ Probe.cpp\ diff --git a/demos/gen_earth_100km.geo b/demos/gen_earth_100km.geo new file mode 100644 index 0000000000..874d910108 --- /dev/null +++ b/demos/gen_earth_100km.geo @@ -0,0 +1,36 @@ +// you need gshhs data file, available on ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.6.zip +Field[1] = MathEval; +Field[1].F= "100e3"; +Plugin(GSHHS).iField=1; +Plugin(GSHHS).InFileName="gshhs_c.b"; +Plugin(GSHHS).OutFileName="earth_100km.geo"; +Plugin(GSHHS).Run; +Merge "earth_100km.geo"; +Field[3] = Threshold; +Field[3].LcMin = 100e3; +Field[3].LcMax = 300e3; +Field[3].DistMax = 1000e3; +Field[3].DistMin = 300e3; +Field[3].IField = 2; +Background Field = 3; +Background Field = 2; +Background Field = 3; +Background Field = 1; +Background Field = 2; +Background Field = 3; +Background Field = 2; +Background Field = 2; +Background Field = 2; +Background Field = 2; +Background Field = 3; +Background Field = 2; +Background Field = -1; +Background Field = 3; +Background Field = 1; +Background Field = 2; +Background Field = 3; +Background Field = 2; +Background Field = 1; +Background Field = 2; +Background Field = -1; +Background Field = 3; -- GitLab