Mordicus.Core.Containers.InitialConditions.InitialConditionBase module

class Mordicus.Core.Containers.InitialConditions.InitialConditionBase.InitialConditionBase[source]

Bases: object

Class containing a InitialConditionBase

GetReducedInitialSnapshot()[source]
Returns

of size (numberOfModes,)

Return type

np.ndarray

ReduceInitialSnapshot(reducedOrderBasis, snapshotCorrelationOperator)[source]

Compresses the initial condition on the reducedOrderBasis, and sets it as parameter of the InitialCondition object