Exemplo n.º 1
0
    def testMode1d(self):

        mode = GNM[0]
        ext = extendMode(mode, NODES, ATOMS)[0]
        assert_array_equal(
            ext._getArray(),
            mode._getArray()[EXT1D, :] * mode.getVariance()**0.5)
Exemplo n.º 2
0
    def testMode1d(self):

        mode = GNM[0]
        ext = extendMode(mode, NODES, ATOMS)[0]
        assert_array_equal(ext._getArray(), mode._getArray()[EXT1D, :] *
                                            mode.getVariance()**0.5)