KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This class selects a subset of elements and corresponding positive weights necessary for the construction of a hyper-reduced order model Reference: Hernandez 2020. More...
Public Member Functions | |
def | __init__ (self, ECM_tolerance=0, Filter_tolerance=0, Plotting=False, MaximumNumberUnsuccesfulIterations=100) |
Constructor setting up the parameters for the Element Selection Strategy ECM_tolerance: approximation tolerance for the element selection algorithm Filter_tolerance: parameter limiting the number of candidate points (elements) to those above this tolerance Plotting: whether to plot the error evolution of the element selection algorithm. More... | |
def | SetUp (self, ResidualsBasis, InitialCandidatesSet=None, constrain_sum_of_weights=True, constrain_conditions=False, number_of_conditions=0) |
Method for setting up the element selection input: - ResidualsBasis: numpy array containing a basis to the residuals projected. More... | |
def | Initialize (self) |
Method performing calculations required before launching the Calculate method. More... | |
def | Run (self) |
def | expand_candidates_with_complement (self) |
def | Calculate (self) |
Method launching the element selection algorithm to find a set of elements: self.z, and wiegths: self.w. More... | |
This class selects a subset of elements and corresponding positive weights necessary for the construction of a hyper-reduced order model Reference: Hernandez 2020.
"A multiscale method for periodic structures using domain decomposition and ECM-hyperreduction"
def empirical_cubature_method.EmpiricalCubatureMethod.__init__ | ( | self, | |
ECM_tolerance = 0 , |
|||
Filter_tolerance = 0 , |
|||
Plotting = False , |
|||
MaximumNumberUnsuccesfulIterations = 100 |
|||
) |
Constructor setting up the parameters for the Element Selection Strategy ECM_tolerance: approximation tolerance for the element selection algorithm Filter_tolerance: parameter limiting the number of candidate points (elements) to those above this tolerance Plotting: whether to plot the error evolution of the element selection algorithm.
def empirical_cubature_method.EmpiricalCubatureMethod.Calculate | ( | self | ) |
Method launching the element selection algorithm to find a set of elements: self.z, and wiegths: self.w.
def empirical_cubature_method.EmpiricalCubatureMethod.expand_candidates_with_complement | ( | self | ) |
def empirical_cubature_method.EmpiricalCubatureMethod.Initialize | ( | self | ) |
Method performing calculations required before launching the Calculate method.
def empirical_cubature_method.EmpiricalCubatureMethod.Run | ( | self | ) |
def empirical_cubature_method.EmpiricalCubatureMethod.SetUp | ( | self, | |
ResidualsBasis, | |||
InitialCandidatesSet = None , |
|||
constrain_sum_of_weights = True , |
|||
constrain_conditions = False , |
|||
number_of_conditions = 0 |
|||
) |
Method for setting up the element selection input: - ResidualsBasis: numpy array containing a basis to the residuals projected.
empirical_cubature_method.EmpiricalCubatureMethod.add_constrain_count |
empirical_cubature_method.EmpiricalCubatureMethod.b |
empirical_cubature_method.EmpiricalCubatureMethod.ECM_tolerance |
empirical_cubature_method.EmpiricalCubatureMethod.Filter_tolerance |
empirical_cubature_method.EmpiricalCubatureMethod.G |
empirical_cubature_method.EmpiricalCubatureMethod.GnormNOONE |
empirical_cubature_method.EmpiricalCubatureMethod.m |
empirical_cubature_method.EmpiricalCubatureMethod.MaximumNumberUnsuccesfulIterations |
empirical_cubature_method.EmpiricalCubatureMethod.mPOS |
empirical_cubature_method.EmpiricalCubatureMethod.Name |
empirical_cubature_method.EmpiricalCubatureMethod.nerror |
empirical_cubature_method.EmpiricalCubatureMethod.nerrorACTUAL |
empirical_cubature_method.EmpiricalCubatureMethod.Plotting |
empirical_cubature_method.EmpiricalCubatureMethod.r |
empirical_cubature_method.EmpiricalCubatureMethod.success |
empirical_cubature_method.EmpiricalCubatureMethod.UnsuccesfulIterations |
empirical_cubature_method.EmpiricalCubatureMethod.W |
empirical_cubature_method.EmpiricalCubatureMethod.w |
empirical_cubature_method.EmpiricalCubatureMethod.y |
empirical_cubature_method.EmpiricalCubatureMethod.y_complement |
empirical_cubature_method.EmpiricalCubatureMethod.z |