Exemplo n.º 1
0
    def __init__(self, model):
        """
        Defines the ShellProperties object.

        Parameters
        ----------
        model : BDF
           the BDF object
        """
        VectorizedCard.__init__(self, model)
        float_fmt = self.model.float_fmt

        self.n = 1
        ncards = 1
        origin = [0., 0., 0.]
        zaxis = [0., 0., 1.]
        xzplane = [1., 0., 0.]
        self.coords = {
            0: CORD2R(0, origin, zaxis, xzplane),
        }
        self.coord_id = zeros(ncards, dtype='int32')
        self.Type = full(ncards, 'R',
                         dtype='|U1')  # R-CORD2R, S-CORD2S, C-CORD2C

        self.T = full((ncards, 3, 3), nan, dtype=float_fmt)
        self.T[0, :, :] = eye(3)
        self.origin = zeros((ncards, 3), dtype=float_fmt)
        self.is_resolved = full(ncards, True, dtype='bool')
Exemplo n.º 2
0
    def __init__(self, model):
        """
        Defines the CONM2 object.

        Parameters
        ----------
        model : BDF
           the BDF object
        """
        VectorizedCard.__init__(self, model)
Exemplo n.º 3
0
    def __init__(self, model):
        """
        Defines the DPHASE object.

        Parameters
        ----------
        model : BDF
           the BDF object

        .. todo:: collapse loads
        """
        VectorizedCard.__init__(self, model)
Exemplo n.º 4
0
    def __init__(self, model):
        """
        ::

          1
          | \
          |   \
          |     \
          |      4
          |      |
          |      |
          2------3
        """
        VectorizedCard.__init__(self, model)
Exemplo n.º 5
0
    def __init__(self, model):
        """
        Defines the GRID object.

        Parameters
        ----------
        model : BDF
           the BDF object

        +------+-----+----+----+----+----+----+----+------+
        |   1  |  2  | 3  | 4  | 5  | 6  |  7 | 8  |  9   |
        +======+=====+====+====+====+====+====+====+======+
        | GRID | NID | CP | X1 | X2 | X3 | CD | PS | SEID |
        +------+-----+----+----+----+----+----+----+------+
        """
        VectorizedCard.__init__(self, model)
Exemplo n.º 6
0
    def __init__(self, model):
        """
        Defines the POINTAX object.

        Parameters
        ----------
        model : BDF
           the BDF object

        +---------+-----+-----+-----+
        |    1    |  2  |  3  |  4  |
        +=========+=====+=====+=====+
        | POINTAX | NID | RID | PHI |
        +---------+-----+-----+-----+
        """
        VectorizedCard.__init__(self, model)
        self._cards = []
        self._comments = []
Exemplo n.º 7
0
 def __init__(self, model):
     VectorizedCard.__init__(self, model)
     self.material_id = array([], dtype='int32')
Exemplo n.º 8
0
 def __init__(self, model):
     VectorizedCard.__init__(self, model)