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.
Public Member Functions | Public Attributes | List of all members
petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility Class Reference

Auxiliary utility for the Petrov Galerkin training. More...

Inheritance diagram for petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility:
Collaboration diagram for petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility:

Public Member Functions

def __init__ (self, solver, custom_settings)
 
def AppendCurrentStepProjectedSystem (self)
 
def GetJacobianPhiMultiplication (self, computing_model_part)
 
def CalculateAndSaveBasis (self, snapshots_matrix=None)
 

Public Attributes

 solver
 
 time_step_snapshots_matrix_container
 
 echo_level
 J@Phi or R. More...
 
 rom_settings
 
 basis_strategy
 
 include_phi
 
 svd_truncation_tolerance
 
 rom_basis_output_name
 
 rom_basis_output_folder
 
 num_of_right_rom_dofs
 
 rom_format
 

Detailed Description

Auxiliary utility for the Petrov Galerkin training.

This class encapsulates all the functions required for the Petrov Galerkin training. These are snapshots collection for the basis Psi used for solving a Petrov Galerkin ROM. The snapshots depends on the basis strategy (i.e. Jacobian or Residuals).

Constructor & Destructor Documentation

◆ __init__()

def petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.__init__ (   self,
  solver,
  custom_settings 
)

Member Function Documentation

◆ AppendCurrentStepProjectedSystem()

def petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.AppendCurrentStepProjectedSystem (   self)

◆ CalculateAndSaveBasis()

def petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.CalculateAndSaveBasis (   self,
  snapshots_matrix = None 
)

◆ GetJacobianPhiMultiplication()

def petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.GetJacobianPhiMultiplication (   self,
  computing_model_part 
)

Member Data Documentation

◆ basis_strategy

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.basis_strategy

◆ echo_level

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.echo_level

J@Phi or R.

◆ include_phi

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.include_phi

◆ num_of_right_rom_dofs

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.num_of_right_rom_dofs

◆ rom_basis_output_folder

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.rom_basis_output_folder

◆ rom_basis_output_name

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.rom_basis_output_name

◆ rom_format

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.rom_format

◆ rom_settings

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.rom_settings

◆ solver

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.solver

◆ svd_truncation_tolerance

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.svd_truncation_tolerance

◆ time_step_snapshots_matrix_container

petrov_galerkin_training_utility.PetrovGalerkinTrainingUtility.time_step_snapshots_matrix_container

The documentation for this class was generated from the following file: