Skip to content
Snippets Groups Projects
test_enumerate.py 439 B
Newer Older
  • Learn to ignore specific revisions
  • Ernesto Oquelis's avatar
    Ernesto Oquelis committed
    
    """
    This is an empty docstring
    """
    
    from oofem_classes import Constraint, Force, Node, Element, Structure, Visualizer
    
    c1 = Constraint([True, False, True])
    f1 = Force([1.2, -4, 0])
    n1 = Node([1, 0, 0])
    n2 = Node([0, 1, 0])
    e1 = Element(2.1e8, 0.2, n1, n2)
    
    n1.set_constraint(c1)
    n2.set_force(f1)
    
    n1.get_constraint().print_constraint()
    n2.get_force().print_force()
    n1.print_node()
    n2.print_node()
    e1.print_element()
    
    
    struct = Structure()