|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.ds.MMesh0D org.jcae.mesh.amibe.ds.MMesh1D
public class MMesh1D
1D discretization of the whole shape. In order to ensure fitting in 3D space, edges are discretized only once even if they appear with several orientations.
Field Summary |
---|
Fields inherited from class org.jcae.mesh.amibe.ds.MMesh0D |
---|
shape |
Constructor Summary | |
---|---|
MMesh1D(BModel model)
|
|
MMesh1D(CADShape shape)
Creates a MMesh1D instance by discretizing all edges
of a given shape. |
|
MMesh1D(java.lang.String cadFile)
Creates a MMesh1D instance by discretizing all edges
of a given shape. |
Method Summary | |
---|---|
Vertex2D[] |
boundaryNodes(CADFace face,
MeshParameters mp)
|
void |
duplicateEdges()
Duplicates edges so that boundary faces are closed. |
java.util.Set<CADFace> |
getAdjacentFaces(CADEdge E)
Returns the set of faces containing this topological edge. |
java.util.Iterator<BDiscretization> |
getBEdgeIterator()
|
java.util.ArrayList<MEdge1D> |
getEdgelistFromMap(CADEdge E)
Returns the list of edges inserted on a given topological edge. |
CADShape |
getGeometry()
Returns the topological shape. |
java.lang.String |
getGeometryFilename()
Returns the file name containing the topological shape. |
java.util.ArrayList<MNode1D> |
getNodelistFromMap(CADEdge E)
Returns the list of nodes inserted on a given topological edge. |
SubMesh1D |
getSubMesh1DFromMap(BDiscretization discrE)
Returns the SubMesh1D instance associated with a
BDiscretization. |
SubMesh1D |
getSubMesh1DFromMap(CADEdge E)
Returns the SubMesh1D instance associated with a
CADEdge. |
java.util.Iterator<CADEdge> |
getTEdgeIterator()
Returns the list of topological edges. |
boolean |
isValid()
Checks the validity of a MMesh1D instance. |
int |
maximalNumberOfNodes()
Returns an upper limit of the total number of nodes |
void |
printInfos()
Prints edge lengths of a MMesh1D instance. |
java.lang.String |
toString()
|
void |
updateNodeLabels()
Update node labels. |
Methods inherited from class org.jcae.mesh.amibe.ds.MMesh0D |
---|
getChildDiscretization, getGeometricalVertex, getGeometricalVertex, getIndexGeometricalVertex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MMesh1D(java.lang.String cadFile)
MMesh1D
instance by discretizing all edges
of a given shape.
cadFile
- file containing CAD shapepublic MMesh1D(CADShape shape)
MMesh1D
instance by discretizing all edges
of a given shape.
cadFile
- file containing CAD shapepublic MMesh1D(BModel model)
Method Detail |
---|
public CADShape getGeometry()
public java.lang.String getGeometryFilename()
public java.util.Set<CADFace> getAdjacentFaces(CADEdge E)
public void updateNodeLabels()
public void duplicateEdges()
public java.util.Iterator<CADEdge> getTEdgeIterator()
public java.util.Iterator<BDiscretization> getBEdgeIterator()
public java.util.ArrayList<MNode1D> getNodelistFromMap(CADEdge E) throws java.util.NoSuchElementException
E
- a topological edge.
java.util.NoSuchElementException
public java.util.ArrayList<MEdge1D> getEdgelistFromMap(CADEdge E) throws java.util.NoSuchElementException
E
- a topological edge.
java.util.NoSuchElementException
public int maximalNumberOfNodes()
public SubMesh1D getSubMesh1DFromMap(CADEdge E) throws java.util.NoSuchElementException
SubMesh1D
instance associated with a
CADEdge.
E
- a topological edge.
SubMesh1D
instance associated with it.
java.util.NoSuchElementException
public SubMesh1D getSubMesh1DFromMap(BDiscretization discrE) throws java.util.NoSuchElementException
SubMesh1D
instance associated with a
BDiscretization.
discrE
- discretization of an edge.
SubMesh1D
instance associated with it.
java.util.NoSuchElementException
public Vertex2D[] boundaryNodes(CADFace face, MeshParameters mp)
public boolean isValid()
MMesh1D
instance.
This method is called within assertions, this is why it returns a
boolean
.
true
if all checks pass.
AssertException
- if a check fails.public void printInfos()
MMesh1D
instance.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |