Skip to content
Snippets Groups Projects
Commit 8094c17d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent c89adbc0
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@ StringXNumber GeneralOptions_Number[] = {
{ F|O, "BackgroundImageHeight" , opt_general_background_image_size1 , -1 ,
"Height of background image (0: actual height if width = 0, natural scaling if not; "
"-1: graphic window height)" },
{ F|O, "BoundingBoxeSize" , opt_general_lc, 1. ,
{ F|O, "BoundingBoxSize" , opt_general_lc, 1. ,
"Overall bounding box size (read-only)" },
{ F|O, "Camera" , opt_general_camera_mode, 0. ,
......
2.8.5: small improvements and bug fixes (stability, error handling, better
Coherence function, new inline onelab definitions).
2.8.5: improved stability and error handling, better Coherence function, new
onelab API version and inline parameter definitions, new background image modes,
more robust Triangulate/Tetrahedralize plugins, new PGF output, improved support
for string~index variable names in parser, small improvements and bug fixes all
over the place.
2.8.4 (Feb 7, 2014): better reproductibility of 2D meshes; new mandatory 'Name'
attribute to define onelab variables in DefineConstant[] & co; small
improvements and bug fixes.
attribute to define onelab variables in DefineConstant[] & co; new
-setnumber/-setstring command line arguments; small improvements and bug fixes.
2.8.3 (Sep 27, 2013): new quick access menu and multiple view selection in GUI;
enhanced animation creation; many small enhancements and bug fixes.
......
......@@ -35,7 +35,7 @@ Save all elements (discard physical group definitions)
@item -parametric
Save vertices with their parametric coordinates
@item -algo string
Select mesh algorithm (meshadapt, del2d, front2d, delquad, del3d, front3d, mmg3d)
Select mesh algorithm (meshadapt, del2d, front2d, delquad, del3d, front3d, mmg3d, pack)
@item -smooth int
Set number of mesh smoothing steps
@item -order int
......
......@@ -374,6 +374,16 @@ type: integer@*
default value: @code{0}
@end table
@item IntersectAniso
Take the intersection of 2 anisotropic fields according to Alauzet.@*
Options:@*
@table @code
@item FieldsList
Field indices@*
type: list@*
default value: @code{@{@}}
@end table
@item Laplacian
Compute finite difference the Laplacian of Field[IField]:@*
@*
......@@ -589,6 +599,39 @@ type: list@*
default value: @code{@{@}}
@end table
@item Sphere
The value of this field is VIn inside a sphere, VOut outside. The sphere is given by@*
@*
||dX||^2 < R^2 &&@*
dX = (X - XC)^2 + (Y-YC)^2 + (Z-ZC)^2@*
Options:@*
@table @code
@item Radius
Radius@*
type: float@*
default value: @code{0}
@item VIn
Value inside the sphere@*
type: float@*
default value: @code{0}
@item VOut
Value outside the sphere@*
type: float@*
default value: @code{0}
@item XCenter
X coordinate of the sphere center@*
type: float@*
default value: @code{0}
@item YCenter
Y coordinate of the sphere center@*
type: float@*
default value: @code{0}
@item ZCenter
Z coordinate of the sphere center@*
type: float@*
default value: @code{0}
@end table
@item Structured
Linearly interpolate between data provided on a 3D rectangular structured grid.@*
@*
......
......@@ -284,6 +284,11 @@ Height of background image (0: actual height if width = 0, natural scaling if no
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item General.BoundingBoxSize
Overall bounding box size (read-only)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item General.Camera
Enable camera view mode@*
Default value: @code{0}@*
......
......@@ -5,7 +5,7 @@
@ftable @code
@item Geometry.AutoCoherence
Should all duplicate entities be automatically removed?@*
Should all duplicate entities be automatically removed? (if ==2, also remove degenerate entities)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......
......@@ -339,11 +339,6 @@ Split MSH file by mesh partition (0: no, 1: yes, 2: create physicals by partitio
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.MultiplePassesMeshes
Do a first simple mesh and use it for complex background meshes (curvatures...)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionHexWeight
Weight of hexahedral element for METIS load balancing@*
Default value: @code{1}@*
......
......@@ -5,42 +5,34 @@
@ftable @code
@item Plugin(AnalyseCurvedMesh)
Plugin(AnalyseCurvedMesh) check the jacobian of all elements of dimension 'Dim' or the greater model dimension if 'Dim' is either <0 or >3.
Plugin(AnalyseCurvedMesh) analyse all elements of a given dimension. It computes, min(J) where J is the scaled Jacobian determinant. Eventually, it computes min(R) where R is the ratio between the smaller and the greater of the eigenvalues of the metric. It creates one or more PView and hides elements for which min({J, R}) < 'Hidding threshold'.
Analysis : 0 do nothing
+1 find invalid elements (*)
+2 compute J_min and J_max of all elements and print some statistics
Parameters:
Effect (for *) : 0 do nothing
+1 print a list of invalid elements
+2 print some statistics
+4 hide valid elements (for GUI)
- Show [...] = {0, 1}: If 0, computes Jacobian and shows min(J). If 1, computes Jacobian and metric and shows min(R).
MaxDepth = 0,1,...
0 : only sample the jacobian
1 : compute Bezier coefficients
2+ : execute a maximum of 1+ subdivision(s)
- Number of PView = {0, 1, 2}: If 1, create one PView with all elements. If 2, create two PView, one with straight-sided elements and one with curved elements.
JacBreak = [0,1[ : if a value of the jacobian <= 'JacBreak' is found, the element is said to be invalid
- Hidding threshold = [0,1]: Hides all element for which min(R) or min(J) is strictly greater than the threshold. If = 1, no effect, if = 0 hide all elements except invalid.
BezBreak = [0,JacBreak[ : if all Bezier coefficients are > 'BezBreak', the element is said to be valid
- Dimension = {-1, 1, 2, 3}: If = -1, analyse element of the greater dimension.
Tolerance = R+ , << 1 : tolerance (relatively to J_min and J_max) used during the computation of J_min and J_max
- Recompute = {0,1}: If the mesh has changed, set to 1 to recompute the bounds.
- Tolerance = ]0, 1[: Tolerance on the computation of min(R) or min(J). It should be at most 0.01 but it can be set to 1 to just check the validity of the mesh.
Numeric options:
@table @code
@item Dim
Default value: @code{-1}
@item Analysis
@item Show: (0) Jacobian, (1) Metric
Default value: @code{1}
@item Number of PView
Default value: @code{2}
@item Effect (1)
Default value: @code{6}
@item JacBreak (1)
Default value: @code{0}
@item BezBreak (1)
@item Hidding threshold
Default value: @code{0.1}
@item Dimension of elements
Default value: @code{-1}
@item Recompute bounds
Default value: @code{0}
@item MaxDepth (1,2)
Default value: @code{20}
@item Tolerance (2)
@item Tolerance
Default value: @code{0.001}
@end table
......@@ -983,10 +975,39 @@ Default value: @code{1}
Default value: @code{-1}
@end table
@item Plugin(Scal2Vec)
Plugin(Scal2Vec) converts the scalar fields of 'ViewX', 'ViewY' and/or 'ViewZ' into a vectorial field. The new view 'NameNewView' contains it.
@item Plugin(Scal2Tens)
Plugin(Scal2Tens) converts some scalar fields into a tensor field. The number of components must be given (max. 9). The new view 'NameNewView' contains the new tensor field. If the number of a view is -1, the value of the corresponding component is 0.
String options:
@table @code
@item NameNewView
Default value: @code{"NewView"}
@end table
Numeric options:
@table @code
@item NumberOfComponents
Default value: @code{9}
@item View0
Default value: @code{-1}
@item View1
Default value: @code{-1}
@item View2
Default value: @code{-1}
@item View3
Default value: @code{-1}
@item View4
Default value: @code{-1}
@item View5
Default value: @code{-1}
@item View6
Default value: @code{-1}
@item View7
Default value: @code{-1}
@item View8
Default value: @code{-1}
@end table
If the value of 'ViewX', 'ViewY' or 'ViewZ' is -1, the value of the vectorial field in the corresponding direction is 0.
@item Plugin(Scal2Vec)
Plugin(Scal2Vec) converts the scalar fields into a vectorial field. The new view 'NameNewView' contains it. If the number of a view is -1, the value of the corresponding component of the vector field is 0.
String options:
@table @code
@item NameNewView
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment