From fce8a10fa0a01d5314b3fa6f4d69ba00c87df237 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 25 Apr 2001 15:43:51 +0000 Subject: [PATCH] *** empty log message *** --- tutorial/bgmesh.pos | 11 ++++++----- tutorial/t1.geo | 3 ++- tutorial/tutorial.html | 13 ++++++++++--- tutorial/view1.pos | 14 +++++++------- tutorial/view2.pos | 14 +++++++------- 5 files changed, 32 insertions(+), 23 deletions(-) diff --git a/tutorial/bgmesh.pos b/tutorial/bgmesh.pos index 1fdb797c4b..51f02387a0 100644 --- a/tutorial/bgmesh.pos +++ b/tutorial/bgmesh.pos @@ -6,17 +6,18 @@ * *********************************************************************/ -// This post-processing view contains only scalar triangles. The values +// This post-processing view contains scalar triangles. The values // represent the target characteristic mesh sizes to be applied to the // first tutorial, t1.geo. // -// There are two ways to use this background mesh: +// There are two ways to use this view as a background mesh: // // 1) open t1.geo, merge bgmesh.pos, select 'Apply as background mesh' -// in the view's options (i.e. by right mouse clicking on the view's -// button), and mesh the problem +// in the view's options (by right mouse clicking on the view's +// button), and mesh the problem. +// // 2) launch Gmsh with 'gmsh t1.geo -bgm bgmesh.pos' and mesh the -// problem +// problem. View "a funny background mesh" { ST(0.077999455,0.23524011,0,0.068887619,0.23816425,0,0.069899638,0.22912552,0){0.01189957,0.011832084,0.0079913397}; diff --git a/tutorial/t1.geo b/tutorial/t1.geo index 238f994312..505cfade47 100644 --- a/tutorial/t1.geo +++ b/tutorial/t1.geo @@ -3,7 +3,7 @@ * Gmsh tutorial 1 * * Variables, Elementary entities (Points, Lines, Surfaces), Physical - * entities (Points, Lines, Surfaces) + * entities (Points, Lines, Surfaces), Background mesh * *********************************************************************/ @@ -95,3 +95,4 @@ Physical Surface(100) = {6} ; // is the msh format (the native mesh file format for Gmsh). For a // description of the mesh and post-processing formats, see the // FORMATS file. + diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index 5e50d0a8b1..ecb2da5695 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -22,7 +22,7 @@ <H1>README 1/9</H1> [<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>] <PRE> -$Id: tutorial.html,v 1.7 2001-03-01 08:04:15 geuzaine Exp $ +$Id: tutorial.html,v 1.8 2001-04-25 15:43:51 geuzaine Exp $ Here are the examples in the Gmsh tutorial. These examples are commented (both C and C++-style comments can be used in Gmsh input @@ -87,6 +87,12 @@ non-interactive mode, just type: > gmsh t1.geo -2 +To mesh the same example, but with the backgound mesh available in the +file 'bgmesh.pos', just type: + +> gmsh t1.geo -2 -bgm bgmesh.pos + + Several files can be loaded simultaneously in Gmsh. The first one defines the project, while the others are appended ("merged") to this project. You can merge such files with the 'File->Merge' menu, or by @@ -128,7 +134,7 @@ OK, that's all, folks. Enjoy the tutorial. * Gmsh tutorial 1 * * Variables, Elementary entities (Points, Lines, Surfaces), Physical - * entities (Points, Lines, Surfaces) + * entities (Points, Lines, Surfaces), Background mesh * *********************************************************************/</FONT></I> @@ -220,7 +226,8 @@ Physical Surface(100) = {6} ; </FONT></I><I><FONT COLOR="#B22222">// is the msh format (the native mesh file format for Gmsh). For a </FONT></I><I><FONT COLOR="#B22222">// description of the mesh and post-processing formats, see the </FONT></I><I><FONT COLOR="#B22222">// FORMATS file. -</FONT></I></PRE> +</FONT></I> +</PRE> <HR> <A NAME="file3"> <H1>t2.geo 3/9</H1> diff --git a/tutorial/view1.pos b/tutorial/view1.pos index ebf9be0d92..988ee3e422 100644 --- a/tutorial/view1.pos +++ b/tutorial/view1.pos @@ -1,10 +1,10 @@ -/* - Gmsh demo file (C) 2000 C. Geuzaine, J.-F. Remacle - - 2D Scalar map - - All important comments are marked with "README" -*/ +/********************************************************************* + * + * Gmsh tutorial 1 - appendix 1 + * + * Scalar view + * + *********************************************************************/ // In this view, there are only scalar triangles. // There are 5 time steps -> 3*5 = 15 values for each triangle. diff --git a/tutorial/view2.pos b/tutorial/view2.pos index 2ab8e8d29a..0cd798d2b4 100644 --- a/tutorial/view2.pos +++ b/tutorial/view2.pos @@ -1,10 +1,10 @@ -/* - Gmsh demo file (C) 2000 C. Geuzaine, J.-F. Remacle - - Vector map on points - - All important comments are marked with "README" -*/ +/********************************************************************* + * + * Gmsh tutorial 1 - appendix 2 + * + * Vector view + * + *********************************************************************/ View "a vector map" { VP(1e-06,1e-06,0){0,0,122.26654,0,0,122.45426,0,0,122.82769,0,0,123.38417,0,0,124.20759}; -- GitLab