org.jcae.mesh.bora.ds
Class BSubMesh

java.lang.Object
  extended by org.jcae.mesh.bora.ds.BSubMesh

public class BSubMesh
extends java.lang.Object


Constructor Summary
BSubMesh(BModel m, int id)
          Creates a root mesh.
 
Method Summary
 void add(Constraint cons)
          Add a constraint to current submesh
 java.util.Collection<Constraint> getConstraints()
           
 int getId()
           
static void main(java.lang.String[] args)
           
 void printSubmeshDiscretizations()
          Prints discretizations to a submesh.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSubMesh

public BSubMesh(BModel m,
                int id)
Creates a root mesh.

Method Detail

getId

public int getId()

getConstraints

public java.util.Collection<Constraint> getConstraints()

add

public void add(Constraint cons)
Add a constraint to current submesh

Parameters:
cons - constraint to add

printSubmeshDiscretizations

public void printSubmeshDiscretizations()
Prints discretizations to a submesh. Some cells may appear twice with opposite orientations but the same discretization. This is due to the use of shapesExplorer on the root of the CAD. Another solution would have been to use the CADGraphCell in the user constraints related to the submesh. This solution would ensure that the CAD object with the right orientation is printed, but CAD objects related to more than one constraint on this submesh would appear that many times.


main

public static void main(java.lang.String[] args)