Beispiel #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)
Beispiel #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)