Skip to content

Commit

Permalink
new object shifted_database to store shifted snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
harshith-gowrachari authored and ndem0 committed Oct 7, 2024
1 parent 6347f8d commit 5c381d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ezyrb/reducedordermodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import copy
import pickle
import numpy as np
from scipy.spatial.qhull import Delaunay
from scipy.spatial import Delaunay
from sklearn.model_selection import KFold
from .database import Database

Expand Down Expand Up @@ -70,10 +70,10 @@ def fit(self):
# FULL-ORDER PREPROCESSING here
for plugin in self.plugins:
plugin.fom_preprocessing(self)

self.shifted_database = self._full_database

self.reduction.fit(self._full_database.snapshots_matrix.T)
# print(self.reduction.singular_values)
# print(self._full_database.snapshots_matrix)
reduced_snapshots = self.reduction.transform(
self._full_database.snapshots_matrix.T).T

Expand Down

0 comments on commit 5c381d6

Please sign in to comment.