org.keridwen.modelling.gmsh.command.dto
Class MeshGmshConfigDTO
java.lang.Object
org.keridwen.modelling.gmsh.command.dto.MeshGmshConfigDTO
public class MeshGmshConfigDTO
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeshGmshConfigDTO
public MeshGmshConfigDTO(String inputFile,
int meshDimension,
String outputFile)
- Constructor of
MeshGmshConfigDTO
.
- Parameters:
inputFile
- The path of the file which must be meshed.meshDimension
- Perform 1D, 2D or 3D mesh generation (value can be 1,2 or 3).outputFile
- Specify mesh output file name.
setInputFile
public void setInputFile(String inputFile)
- Parameters:
inputFile
- The path of the file which must be meshed.
getInputFile
public String getInputFile()
- Returns:
- The path of the file which must be meshed.
getMeshDimension
public int getMeshDimension()
- Returns:
- Perform 1D, 2D or 3D mesh generation (value can be 1,2 or 3).
isRefine
public boolean isRefine()
- Returns:
- Perform uniform mesh refinement by subdivision.
getPart
public int getPart()
- Returns:
- Partition the mesh after batch mesh generation.
isSaveAll
public boolean isSaveAll()
- Returns:
- Save all elements (discard physical group definitions).
getOutputFile
public String getOutputFile()
- Returns:
- Specify mesh output file name.
getFormat
public String getFormat()
- Returns:
- Set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, med, ...)
isBinaryFormat
public boolean isBinaryFormat()
- Returns:
- Use binary format when available.
getMeshAlgorithm
public String getMeshAlgorithm()
- Returns:
- Select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d, ...).
getSmooth
public int getSmooth()
- Returns:
- Set number of mesh smoothing steps.
isOptimize
public boolean isOptimize()
- Returns:
- Optimize quality of tetrahedral elements
getOrder
public int getOrder()
- Returns:
- Set the order of the generated elements (1, 2).
getScalingFactor
public float getScalingFactor()
- Returns:
- Set mesh element size scaling factor
getMinimumMeshElementSize
public float getMinimumMeshElementSize()
- Returns:
- Set minimum mesh element size.
getMaximumMeshElementSize
public float getMaximumMeshElementSize()
- Returns:
- Set maximum mesh element size.
isCurvatureMeshElementSize
public boolean isCurvatureMeshElementSize()
- Returns:
- Compute mesh element sizes from curvatures.
getRandomPerturbationFactor
public float getRandomPerturbationFactor()
- Returns:
- Set random perturbation factor.
getCheckFile
public String getCheckFile()
- Returns:
- Perform various consistency checks on mesh .
setMeshDimension
public void setMeshDimension(int meshDimension)
- Parameters:
meshDimension
- Perform 1D, 2D or 3D mesh generation (value can be 1,2 or 3).
setRefine
public void setRefine(boolean refine)
- Parameters:
refine
- Perform uniform mesh refinement by subdivision.
setPart
public void setPart(int part)
- Parameters:
part
- Partition the mesh after batch mesh generation.
setSaveAll
public void setSaveAll(boolean saveAll)
- Parameters:
saveAll
- Save all elements (discard physical group definitions).
setOutputFile
public void setOutputFile(String outputFile)
- Parameters:
outputFile
- Specify mesh output file name.
setBinaryFormat
public void setBinaryFormat(boolean binaryFormat)
- Parameters:
binaryFormat
- Use binary format when available.
setMeshAlgorithm
public void setMeshAlgorithm(String meshAlgorithm)
- Parameters:
meshAlgorithm
- Select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d, ...).
setSmooth
public void setSmooth(int smooth)
- Parameters:
smooth
- Set number of mesh smoothing steps.
setOptimize
public void setOptimize(boolean optimize)
- Parameters:
optimize
- Optimize quality of tetrahedral elements
setOrder
public void setOrder(int order)
- Parameters:
order
- Set the order of the generated elements (1, 2).
setScalingFactor
public void setScalingFactor(float scalingFactor)
- Parameters:
scalingFactor
- Set mesh element size scaling factor
setMinimumMeshElementSize
public void setMinimumMeshElementSize(float minimumMeshElementSize)
- Parameters:
minimumMeshElementSize
- Set minimum mesh element size.
setMaximumMeshElementSize
public void setMaximumMeshElementSize(float maximumMeshElementSize)
- Parameters:
maximumMeshElementSize
- Set maximum mesh element size.
setCurvatureMeshElementSize
public void setCurvatureMeshElementSize(boolean curvatureMeshElementSize)
- Parameters:
curvatureMeshElementSize
- Compute mesh element sizes from curvatures.
setRandomPerturbationFactor
public void setRandomPerturbationFactor(float randomPerturbationFactor)
- Parameters:
randomPerturbationFactor
- Set random perturbation factor.
setCheckFile
public void setCheckFile(String checkFile)
- Parameters:
checkFile
- Perform various consistency checks on mesh .
getGmshCongiguration
public List<String> getGmshCongiguration()
Copyright © 2012-2013 Artenum. All Rights Reserved.