Commit b1ac2b78 authored by Jean-François Remacle's avatar Jean-François Remacle

A

Merge branch 'master' of http://gitlab.onelab.info/gmsh/gmsh
parents ca30bab8 ff2998ed
......@@ -52,7 +52,7 @@ struct contextMeshOptions {
int partitionCreatePhysicals, partitionSplitMeshFiles,
partitionSaveTopologyFile;
int partitionTriWeight, partitionQuaWeight, partitionTetWeight,
partitionHexWeight;
partitionHexWeight, partitionLinWeight;
int partitionPriWeight, partitionPyrWeight, partitionTrihWeight;
int partitionOldStyleMsh2;
int metisAlgorithm, metisEdgeMatching, metisRefinementAlgorithm;
......
This diff is collapsed.
......@@ -5831,6 +5831,13 @@ double opt_mesh_partition_tri_weight(OPT_ARGS_NUM)
return CTX::instance()->mesh.partitionTriWeight;
}
double opt_mesh_partition_line_weight(OPT_ARGS_NUM)
{
if (action & GMSH_SET)
CTX::instance()->mesh.partitionLinWeight = (int) val;
return CTX::instance()->mesh.partitionLinWeight;
}
double opt_mesh_partition_create_physicals(OPT_ARGS_NUM)
{
if (action & GMSH_SET)
......
......@@ -488,6 +488,7 @@ double opt_mesh_partition_trih_weight(OPT_ARGS_NUM);
double opt_mesh_partition_qua_weight(OPT_ARGS_NUM);
double opt_mesh_partition_tet_weight(OPT_ARGS_NUM);
double opt_mesh_partition_tri_weight(OPT_ARGS_NUM);
double opt_mesh_partition_line_weight(OPT_ARGS_NUM);
double opt_mesh_partition_create_topology(OPT_ARGS_NUM);
double opt_mesh_partition_create_physicals(OPT_ARGS_NUM);
double opt_mesh_partition_create_ghost_cells(OPT_ARGS_NUM);
......
......@@ -118,7 +118,8 @@ public:
}
void fillDefaultWeights()
{
if(CTX::instance()->mesh.partitionTriWeight == 1 &&
if(CTX::instance()->mesh.partitionLinWeight == 1 &&
CTX::instance()->mesh.partitionTriWeight == 1 &&
CTX::instance()->mesh.partitionQuaWeight == 1 &&
CTX::instance()->mesh.partitionTetWeight == 1 &&
CTX::instance()->mesh.partitionPyrWeight == 1 &&
......@@ -127,16 +128,19 @@ public:
return;
_vwgt = new unsigned int[_ne];
if(CTX::instance()->mesh.partitionTriWeight == -1 ||
CTX::instance()->mesh.partitionQuaWeight == -1 ||
CTX::instance()->mesh.partitionTetWeight == -1 ||
CTX::instance()->mesh.partitionPyrWeight == -1 ||
CTX::instance()->mesh.partitionPriWeight == -1 ||
CTX::instance()->mesh.partitionHexWeight == -1) {
if(CTX::instance()->mesh.partitionLinWeight == -1 ||
CTX::instance()->mesh.partitionTriWeight == -1 ||
CTX::instance()->mesh.partitionQuaWeight == -1 ||
CTX::instance()->mesh.partitionTetWeight == -1 ||
CTX::instance()->mesh.partitionPyrWeight == -1 ||
CTX::instance()->mesh.partitionPriWeight == -1 ||
CTX::instance()->mesh.partitionHexWeight == -1) {
for(unsigned int i = 0; i < _ne; i++) {
if(!_element[i]) {
_vwgt[i] = 1;
}
else{
_vwgt[i] = (_element[i]->getDim() == _dim ? 1 : 0);
continue;
}
}
}
......@@ -144,17 +148,18 @@ public:
for(unsigned int i = 0; i < _ne; i++) {
if(!_element[i]) {
_vwgt[i] = 1;
continue;
}
switch(_element[i]->getType()) {
case TYPE_TRI: _vwgt[i] = CTX::instance()->mesh.partitionTriWeight; break;
case TYPE_QUA: _vwgt[i] = CTX::instance()->mesh.partitionQuaWeight; break;
case TYPE_TET: _vwgt[i] = CTX::instance()->mesh.partitionTetWeight; break;
case TYPE_PYR: _vwgt[i] = CTX::instance()->mesh.partitionPyrWeight; break;
case TYPE_PRI: _vwgt[i] = CTX::instance()->mesh.partitionPriWeight; break;
case TYPE_HEX: _vwgt[i] = CTX::instance()->mesh.partitionHexWeight; break;
default: _vwgt[i] = 1; break;
else{
switch(_element[i]->getType()) {
case TYPE_LIN: _vwgt[i] = CTX::instance()->mesh.partitionLinWeight; break;
case TYPE_TRI: _vwgt[i] = CTX::instance()->mesh.partitionTriWeight; break;
case TYPE_QUA: _vwgt[i] = CTX::instance()->mesh.partitionQuaWeight; break;
case TYPE_TET: _vwgt[i] = CTX::instance()->mesh.partitionTetWeight; break;
case TYPE_PYR: _vwgt[i] = CTX::instance()->mesh.partitionPyrWeight; break;
case TYPE_PRI: _vwgt[i] = CTX::instance()->mesh.partitionPriWeight; break;
case TYPE_HEX: _vwgt[i] = CTX::instance()->mesh.partitionHexWeight; break;
default: _vwgt[i] = 1; break;
}
}
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -130,7 +130,7 @@ void getElementaryTagsForPhysicalGroups(int dim, List_T *in, List_T *out);
void getElementaryTagsInBoundingBox(int dim, double x1, double y1, double z1,
double x2, double y2, double z2, List_T *out);
void getParentTags(int dim, List_T *in, List_T *out);
void getBoundingBox(int dim, int tag, List_T *out);
void getBoundingBox(int dim, List_T *in, List_T *out);
void setVisibility(int dim, int visible, bool recursive);
void setVisibility(const std::vector<std::pair<int, int> > &dimTags, int visible,
bool recursive);
......@@ -5620,10 +5620,11 @@ FExpr_Multi :
$$ = List_Create(10, 10, sizeof(double));
getElementaryTagsInBoundingBox($1, $5, $7, $9, $11, $13, $15, $$);
}
| tBoundingBox GeoEntity '{' FExpr '}'
| tBoundingBox GeoEntity '{' RecursiveListOfDouble '}'
{
$$ = List_Create(10, 10, sizeof(double));
getBoundingBox($2, (int)$4, $$);
getBoundingBox($2, $4, $$);
List_Delete($4);
}
| Transform
{
......@@ -6940,7 +6941,7 @@ void getParentTags(int dim, List_T *in, List_T *out)
}
}
void getBoundingBox(int dim, int tag, List_T *out)
void getBoundingBox(int dim, List_T *in, List_T *out)
{
if(GModel::current()->getOCCInternals() &&
GModel::current()->getOCCInternals()->getChanged())
......@@ -6948,9 +6949,13 @@ void getBoundingBox(int dim, int tag, List_T *out)
if(GModel::current()->getGEOInternals()->getChanged())
GModel::current()->getGEOInternals()->synchronize(GModel::current());
GEntity *ge = GModel::current()->getEntityByTag(dim, tag);
SBoundingBox3d box;
if(ge) box = ge->bounds();
for(int i = 0; i < List_Nbr(in); i++){
double num;
List_Read(in, i, &num);
GEntity *ge = GModel::current()->getEntityByTag(dim, (int)num);
if(ge) box += ge->bounds();
}
if(!box.empty()){
double b[6] = {box.min().x(), box.min().y(), box.min().z(),
box.max().x(), box.max().y(), box.max().z()};
......
Point(1) = {-0.5, -0.5, 0.0, 0.025};
Point(2) = {0.5, -0.5, 0.0, 0.025};
Point(3) = {0.5, 0.5, 0.0, 0.025};
Point(4) = {-0.5, 0.5, 0.0, 0.025};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Periodic Curve {3} = {-1};
Periodic Curve {2} = {-4};
Line Loop(1) = {1, 2, 3, 4};
Plane Surface(1) = {1};
Physical Point(1) = {1};
Physical Point(2) = {1, 2, 3, 4};
Physical Point(3) = {2};
Physical Point(4) = {3};
Physical Point(5) = {4};
Physical Line(1) = {1};
Physical Line(2) = {1, 2, 3, 4};
Physical Line(3) = {2};
Physical Line(4) = {3};
Physical Line(5) = {4};
Physical Surface(1) = {1};
SetFactory("OpenCASCADE");
Mesh.CharacteristicLengthMin = 0.05;
Mesh.CharacteristicLengthMax = 0.05;
p1 = newp; Point(p1) = {0.449999988079071,0.500000000000000,0.039574999362230};
p2 = newp; Point(p2) = {0.449999988079071,0.000000000000000,-0.007677000015974};
p3 = newp; Point(p3) = {0.000000000000000,0.500000000000000,-0.012500000186265};
p4 = newp; Point(p4) = {0.000000000000000,0.000000000000000,0.025000000372529};
p5 = newp; Point(p5) = {0.000000000000000,1.000000000000000,0.025000000372529};
p6 = newp; Point(p6) = {0.449999988079071,1.000000000000000,0.015499000437558};
l1 = newl; Line(l1) = {p1,p2};
l2 = newl; Line(l2) = {p2,p3};
l3 = newl; Line(l3) = {p1,p3};
l4 = newl; Line(l4) = {p2,p4};
l5 = newl; Line(l5) = {p3,p4};
l6 = newl; Line(l6) = {p3,p5};
l7 = newl; Line(l7) = {p1,p5};
l8 = newl; Line(l8) = {p1,p6};
l9 = newl; Line(l9) = {p5,p6};
cl1 = news; Curve Loop(cl1) = {l1,l2,-l3};
s1 = news; Plane Surface(s1) = {cl1};
// FIXME: OpenCASCADE ignore signs in loops for now: how to use them ?
cl2 = news; Curve Loop(cl2) = {-l2,l4,-l5};
s2 = news; Plane Surface(s2) = {cl2};
cl3 = news; Curve Loop(cl3) = {l6,-l7,l3};
s3 = news; Plane Surface(s3) = {cl3};
cl4 = news; Curve Loop(cl4) = {-l8,l7,l9};
s4 = news; Plane Surface(s4) = {cl4};
......@@ -67,6 +67,8 @@ void OptHomPeriodicity::_relocateMasterVertices()
{
GFace *master = dynamic_cast<GFace*>(it->first);
GFace *slave = dynamic_cast<GFace*>(it->second);
if(slave->affineTransform.size() < 16) break;
std::vector<double> tfo = _inverse(slave->affineTransform);
Msg::Info("Relocating vertices of master face %i using slave %i",
......@@ -111,9 +113,11 @@ void OptHomPeriodicity::_relocateMasterVertices()
if (i > 0) ++it;
GEntity *slave = it->second;
GEdge* me = dynamic_cast<GEdge*>(master);
GEdge* se = dynamic_cast<GEdge*>(slave);
if(slave->affineTransform.size() < 16) break;
std::vector<double> tfo = _inverse(slave->affineTransform);
Msg::Info("Relocating %d main and %d high order vertices for %d points "
"of master edge %i (%i-%i) using slave %i (%i-%i)",
......@@ -123,7 +127,6 @@ void OptHomPeriodicity::_relocateMasterVertices()
me->tag(),me->getBeginVertex()->tag(),me->getEndVertex()->tag(),
se->tag(),se->getBeginVertex()->tag(),se->getEndVertex()->tag());
std::vector<double> tfo = _inverse(slave->affineTransform);
std::map<MVertex*, MVertex*>::iterator vit;
std::map<MVertex*, MVertex*> &vertS2M = slave->correspondingVertices;
......@@ -187,6 +190,8 @@ void OptHomPeriodicity::_copyBackMasterVertices()
master->tag(),slave->tag());
const std::vector<double>& tfo = slave->affineTransform;
if(tfo.size() < 16) break;
std::map<MVertex*, MVertex*>::iterator vit;
std::map<MVertex*, MVertex*> &vertS2M = slave->correspondingVertices;
......@@ -228,6 +233,8 @@ void OptHomPeriodicity::_copyBackMasterVertices()
master->tag(),slave->tag());
const std::vector<double> tfo = slave->affineTransform;
if(tfo.size() < 16) break;
std::map<MVertex*, MVertex*>::iterator vit;
std::map<MVertex*, MVertex*> &vertS2M = slave->correspondingVertices;
......@@ -285,15 +292,18 @@ SPoint3 OptHomPeriodicity::_transform(MVertex *vsource,
std::vector<double> OptHomPeriodicity::_inverse(const std::vector<double> &tfo)
{
std::vector<double> result(16, 0.);
if(tfo.size() < 16){
Msg::Error("Wrong size of affine transformation matrix");
return result;
}
// Note that the last row of tfo must be (0 0 0 1)...
std::vector<double> result(16);
fullMatrix<double> mat(4, 4), inv;
int idx = 0;
for(int i = 0; i < 4; i++)
for(int j = 0; j < 4; j++)
mat(i, j) = tfo[idx++];
mat.invert(inv);
idx = 0;
for(int i = 0; i < 4; i++)
for(int j = 0; j < 4; j++)
......
......@@ -946,7 +946,7 @@ List of expressions are also widely used, and are defined as:
@var{extrude} |
@var{boolean} |
Point|Curve|Surface|Volume In BoundingBox @{ @var{expression-list} @} |
BoundingBox Point|Curve|Surface|Volume @{ @var{expression} @}
BoundingBox Point|Curve|Surface|Volume @{ @var{expression-list} @}
Point @{ @var{expression} @} |
Physical Point|Curve|Surface|Volume @{ @var{expression-list} @} |
<Physical> Point|Curve|Surface|Volume @{ : @} |
......
......@@ -158,7 +158,7 @@ Saved in: @code{General.SessionFileName}
@item General.Version
Gmsh version (read-only)@*
Default value: @code{"4.0.2-git-a93cf0f13"}@*
Default value: @code{"4.0.3-git-7e4030d42"}@*
Saved in: @code{-}
@item General.WatchFilePattern
......@@ -192,7 +192,7 @@ Default value: @code{0.02}@*
Saved in: @code{General.OptionsFileName}
@item General.Axes
Axes (0=none, 1=simple axes, 2=box, 3=full grid, 4=open grid, 5=ruler)@*
Axes (0: none, 1: simple axes, 2: box, 3: full grid, 4: open grid, 5: ruler)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -287,7 +287,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item General.BackgroundGradient
Draw background gradient (0=none, 1=vertical, 2=horizontal, 3=radial)@*
Draw background gradient (0: none, 1: vertical, 2: horizontal, 3: radial)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -497,7 +497,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item General.ColorScheme
Default color scheme for graphics (0=dark, 1=light, 2=grayscale, 3=reverse)@*
Default color scheme for graphics (0: dark, 1: light, 2: grayscale, 3: reverse)@*
Default value: @code{1}@*
Saved in: @code{General.SessionFileName}
......@@ -657,7 +657,7 @@ Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
@item General.InitialModule
Module launched on startup (0=automatic, 1=geometry, 2=mesh, 3=solver, 4=post-processing) @*
Module launched on startup (0: automatic, 1: geometry, 2: mesh, 3: solver, 4: post-processing) @*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -932,7 +932,7 @@ Default value: @code{150}@*
Saved in: @code{General.SessionFileName}
@item General.Orthographic
Orthographic projection mode (0=perspective projection)@*
Orthographic projection mode (0: perspective projection)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -1167,7 +1167,7 @@ Default value: @code{4}@*
Saved in: @code{General.OptionsFileName}
@item General.Verbosity
Level of information printed during processing (0=no information)@*
Level of information printed during processing (0: no information)@*
Default value: @code{5}@*
Saved in: @code{General.OptionsFileName}
......
......@@ -67,7 +67,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Geometry.LabelType
Type of entity label (0=description, 1=elementary number, 2=physical number)@*
Type of entity label (0: description, 1: elementary number, 2: physical number)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -272,7 +272,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Geometry.SurfaceType
Surface display type (0=cross, 1=wireframe, 2=solid)@*
Surface display type (0: cross, 1: wireframe, 2: solid)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -292,7 +292,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Geometry.Transform
Transform model display coordinates (0=no, 1=scale)@*
Transform model display coordinates (0: no, 1: scale)@*
Default value: @code{0}@*
Saved in: @code{-}
......
......@@ -2,12 +2,12 @@
@ftable @code
@item Mesh.Algorithm
2D mesh algorithm (1=MeshAdapt, 2=Automatic, 5=Delaunay, 6=Frontal, 7=BAMG, 8=DelQuad)@*
2D mesh algorithm (1: MeshAdapt, 2: Automatic, 5: Delaunay, 6: Frontal, 7: BAMG, 8: DelQuad)@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.Algorithm3D
3D mesh algorithm (1=Delaunay, 4=Frontal, 5=Frontal Delaunay, 6=Frontal Hex, 7=MMG3D, 9=R-tree)@*
3D mesh algorithm (1: Delaunay, 4: Frontal, 5: Frontal Delaunay, 6: Frontal Hex, 7: MMG3D, 9: R-tree)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -32,7 +32,7 @@ Default value: @code{10}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.BdfFieldFormat
Field format for Nastran BDF files (0=free, 1=small, 2=large)@*
Field format for Nastran BDF files (0: free, 1: small, 2: large)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -92,7 +92,7 @@ Default value: @code{0}@*
Saved in: @code{-}
@item Mesh.ColorCarousel
Mesh coloring (0=by element type, 1=by elementary entity, 2=by physical entity, 3=by partition)@*
Mesh coloring (0: by element type, 1: by elementary entity, 2: by physical entity, 3: by partition)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -112,7 +112,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.ElementOrder
Element order (1=linear elements, N (<6) = elements of higher order)@*
Element order (1: linear elements, N (<6): elements of higher order)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -132,7 +132,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.Format
Mesh output format (1=msh, 2=unv, 10=auto, 16=vtk, 19=vrml, 21=mail, 26=pos stat, 27=stl, 28=p3d, 30=mesh, 31=bdf, 32=cgns, 33=med, 34=diff, 38=ir3, 39=inp, 40=ply2, 41=celum, 42=su2, 47=tochnog, 49=neu, 50=matlab)@*
Mesh output format (1: msh, 2: unv, 10: auto, 16: vtk, 19: vrml, 21: mail, 26: pos stat, 27: stl, 28: p3d, 30: mesh, 31: bdf, 32: cgns, 33: med, 34: diff, 38: ir3, 39: inp, 40: ply2, 41: celum, 42: su2, 47: tochnog, 49: neu, 50: matlab)@*
Default value: @code{10}@*
Saved in: @code{General.OptionsFileName}
......@@ -177,7 +177,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.LabelType
Type of element label (0=element number, 1=elementary entity number, 2=physical entity number, 3=partition number, 4=coordinates)@*
Type of element label (0: element number, 1: elementary entity number, 2: physical entity number, 3: partition number, 4: coordinates)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -192,7 +192,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.LightLines
Enable lighting for mesh edges (0=no, 1=surfaces, 2=surfaces+volumes@*
Enable lighting for mesh edges (0: no, 1: surfaces, 2: surfaces+volumes@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
......@@ -237,17 +237,17 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.MetisAlgorithm
METIS partitioning algorithm (1=Recursive, 2=K-way)@*
METIS partitioning algorithm (1: Recursive, 2: K-way)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.MetisEdgeMatching
METIS edge matching type (1=Random, 2=Sorted Heavy-Edge)@*
METIS edge matching type (1: Random, 2: Sorted Heavy-Edge)@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.MetisRefinementAlgorithm
METIS algorithm for k-way refinement (1=FM-based cut, 2=Greedy, 3=Two-sided node FM, 4=One-sided node FM)@*
METIS algorithm for k-way refinement (1: FM-based cut, 2: Greedy, 3: Two-sided node FM, 4: One-sided node FM)@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
......@@ -267,43 +267,48 @@ Default value: @code{4}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.MedFileMinorVersion
Minor version of the MED file format to use (-1=use minor version of the MED library)@*
Minor version of the MED file format to use (-1: use minor version of the MED library)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionHexWeight
Weight of hexahedral element for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
Weight of hexahedral element for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionLineWeight
Weight of line element for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionPrismWeight
Weight of prismatic element (wedge) for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
Weight of prismatic element (wedge) for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionPyramidWeight
Weight of pyramidal element for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
Weight of pyramidal element for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionTrihedronWeight
Weight of trihedron element for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{0}@*
@item Mesh.PartitionQuadWeight
Weight of quadrangle for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionQuadWeight
Weight of quadrangle for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
@item Mesh.PartitionTrihedronWeight
Weight of trihedron element for METIS load balancing (-1: automatic)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionTetWeight
Weight of tetrahedral element for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
Weight of tetrahedral element for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionTriWeight
Weight of triangle element for METIS load balancing (if -1: partition weights are set to 1 for elements having the same dimension as the geometry, otherwise there are set to 0)@*
Default value: @code{1}@*
Weight of triangle element for METIS load balancing (-1: automatic)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.PartitionCreateTopology
......@@ -462,7 +467,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.QualityType
Type of quality measure (0=SICN~signed inverse condition number, 1=SIGE~signed inverse gradient error, 2=gamma~vol/sum_face/max_edge, 3=Disto~minJ/maxJ@*
Type of quality measure (0: SICN~signed inverse condition number, 1: SIGE~signed inverse gradient error, 2: gamma~vol/sum_face/max_edge, 3: Disto~minJ/maxJ@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
......@@ -497,7 +502,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.RecombinationAlgorithm
Mesh recombination algorithm (0=standard, 1=blossom)@*
Mesh recombination algorithm (0: standard, 1: blossom)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -552,7 +557,7 @@ Default value: @code{0}@*
Saved in: @code{-}
@item Mesh.SaveElementTagType
Type of the element tag saved in mesh formats that don't support saving physical or partition ids (1=elementary, 2=physical, 3=partition)@*
Type of the element tag saved in mesh formats that don't support saving physical or partition ids (1: elementary, 2: physical, 3: partition)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -612,7 +617,7 @@ Default value: @code{1.8}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.SubdivisionAlgorithm
Mesh subdivision algorithm (0=none, 1=all quadrangles, 2=all hexahedra)@*
Mesh subdivision algorithm (0: none, 1: all quadrangles, 2: all hexahedra)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -682,7 +687,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.ZoneDefinition
Method for defining a zone (0=single zone, 1=by partition, 2=by physical)@*
Method for defining a zone (0: single zone, 1: by partition, 2: by physical)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......
......@@ -57,7 +57,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item PostProcessing.Format
Default file format for post-processing views (0=ASCII view, 1=binary view, 2=parsed view, 3=STL triangulation, 4=raw text, 5=Gmsh mesh, 6=MED file, 10=automatic)@*
Default file format for post-processing views (0: ASCII view, 1: binary view, 2: parsed view, 3: STL triangulation, 4: raw text, 5: Gmsh mesh, 6: MED file, 10: automatic)@*
Default value: @code{10}@*
Saved in: @code{General.OptionsFileName}
......@@ -77,7 +77,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item PostProcessing.Link
Post-processing view links (0=apply next option changes to selected views, 1=force same options for all selected views)@*
Post-processing view links (0: apply next option changes to selected views, 1: force same options for all selected views)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......
......@@ -87,12 +87,12 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Print.EpsQuality
PostScript/PDF quality (0=bitmap, 1=vector (simple sort), 2=vector (accurate sort), 3=vector (unsorted)@*
PostScript/PDF quality (0: bitmap, 1: vector (simple sort), 2: vector (accurate sort), 3: vector (unsorted)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item Print.Format
File format (10=automatic)@*
File format (10: automatic)@*
Default value: @code{10}@*
Saved in: @code{General.OptionsFileName}
......
......@@ -127,7 +127,7 @@ Default value: @code{"1*0xFFFF"}@*
Saved in: @code{General.OptionsFileName}
@item View.AbscissaRangeType
Ascissa scale range type (1=default, 2=custom)@*
Ascissa scale range type (1: default, 2: custom)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -157,7 +157,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.Axes
Axes (0=none, 1=simple axes, 2=box, 3=full grid, 4=open grid, 5=ruler)@*
Axes (0: none, 1: simple axes, 2: box, 3: full grid, 4: open grid, 5: ruler)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -217,12 +217,12 @@ Default value: @code{5}@*
Saved in: @code{General.OptionsFileName}
@item View.Boundary
Draw the `N minus b'-dimensional boundary of the element (N=element dimension, b=option value)@*
Draw the `N minus b'-dimensional boundary of the element (N: element dimension, b: option value)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item View.CenterGlyphs
Center glyphs (arrows, numbers, etc.)? (0=left, 1=centered, 2=right)@*
Center glyphs (arrows, numbers, etc.)? (0: left, 1: centered, 2: right)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
......@@ -427,7 +427,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.ExternalView
Index of the view used to color vector fields (-1=self)@*
Index of the view used to color vector fields (-1: self)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
......@@ -447,12 +447,12 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.GeneralizedRaiseView
Index of the view used for generalized raise (-1=self)@*
Index of the view used for generalized raise (-1: self)@*
Default value: @code{-1}@*
Saved in: @code{General.OptionsFileName}
@item View.GlyphLocation
Glyph (arrow, number, etc.) location (1=center of gravity, 2=node)@*
Glyph (arrow, number, etc.) location (1: center of gravity, 2: node)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -462,7 +462,7 @@ Default value: @code{200}@*
Saved in: @code{General.OptionsFileName}
@item View.IntervalsType
Type of interval display (1=iso, 2=continuous, 3=discrete, 4=numeric)@*
Type of interval display (1: iso, 2: continuous, 3: discrete, 4: numeric)@*
Default value: @code{2}@*
Saved in: @code{General.OptionsFileName}
......@@ -617,7 +617,7 @@ Default value: @code{0}@*
Saved in: @code{-}
@item View.RangeType
Value scale range type (1=default, 2=custom, 3=per time step)@*
Value scale range type (1: default, 2: custom, 3: per time step)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -627,12 +627,12 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.SaturateValues
Saturate the view values to custom min and max (1=true, 0=false)@*
Saturate the view values to custom min and max (1: true, 0: false)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item View.ScaleType
Value scale type (1=linear, 2=logarithmic, 3=double logarithmic)@*
Value scale type (1: linear, 2: logarithmic, 3: double logarithmic)@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
......@@ -647,7 +647,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.ShowTime
Time display mode (0=none, 1=time series, 2=harmonic data, 3=automatic, 4=step data, 5=multi-step data, 6=real eigenvalues, 7=complex eigenvalues)@*
Time display mode (0: none, 1: time series, 2: harmonic data, 3: automatic, 4: step data, 5: multi-step data, 6: real eigenvalues, 7: complex eigenvalues)@*
Default value: @code{3}@*
Saved in: @code{General.OptionsFileName}
......@@ -732,7 +732,7 @@ Default value: @code{1}@*
Saved in: @code{-}
@item View.Type
Type of plot (1=3D, 2=2D space, 3=2D time, 4=2D)@*
Type of plot (1: 3D, 2: 2D space, 3: 2D time, 4: 2D)@*
Default value: @code{1}@*
Saved in: @code{-}
......@@ -742,7 +742,7 @@ Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item View.VectorType
Vector display type (1=segment, 2=arrow, 3=pyramid, 4=3D arrow, 5=displacement, 6=comet)@*
Vector display type (1: segment, 2: arrow, 3: pyramid, 4: 3D arrow, 5: displacement, 6: comet)@*
Default value: @code{4}@*
Saved in: @code{General.OptionsFileName}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment