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 | Static Public Member Functions | Protected Attributes | List of all members
Kratos::RomResidualsUtility Class Reference

#include <rom_residuals_utility.h>

Collaboration diagram for Kratos::RomResidualsUtility:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (RomResidualsUtility)
 
 RomResidualsUtility (ModelPart &rModelPart, Parameters ThisParameters, BaseSchemeType::Pointer pScheme)
 
 ~RomResidualsUtility ()=default
 
Matrix GetProjectedResidualsOntoPhi ()
 
Matrix GetProjectedResidualsOntoPsi ()
 
Matrix GetProjectedResidualsOntoJPhi (Matrix &rJPhi)
 

Static Public Member Functions

template<typename TMatrix >
static void ResizeIfNeeded (TMatrix &rMat, const std::size_t Rows, const std::size_t Cols)
 

Protected Attributes

std::vector< std::string > mNodalVariablesNames
 
int mNodalDofs
 
unsigned int mRomDofs
 
unsigned int mPetrovGalerkinRomDofs
 
ModelPartmrModelPart
 
BaseSchemeType::Pointer mpScheme
 
std::unordered_map< Kratos::VariableData::KeyType, Matrix::size_typemMapPhi
 

Constructor & Destructor Documentation

◆ RomResidualsUtility()

Kratos::RomResidualsUtility::RomResidualsUtility ( ModelPart rModelPart,
Parameters  ThisParameters,
BaseSchemeType::Pointer  pScheme 
)
inline

◆ ~RomResidualsUtility()

Kratos::RomResidualsUtility::~RomResidualsUtility ( )
default

Member Function Documentation

◆ GetProjectedResidualsOntoJPhi()

Matrix Kratos::RomResidualsUtility::GetProjectedResidualsOntoJPhi ( Matrix rJPhi)
inline

◆ GetProjectedResidualsOntoPhi()

Matrix Kratos::RomResidualsUtility::GetProjectedResidualsOntoPhi ( )
inline

◆ GetProjectedResidualsOntoPsi()

Matrix Kratos::RomResidualsUtility::GetProjectedResidualsOntoPsi ( )
inline

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::RomResidualsUtility::KRATOS_CLASS_POINTER_DEFINITION ( RomResidualsUtility  )

◆ ResizeIfNeeded()

template<typename TMatrix >
static void Kratos::RomResidualsUtility::ResizeIfNeeded ( TMatrix &  rMat,
const std::size_t  Rows,
const std::size_t  Cols 
)
inlinestatic

Resizes a Matrix if it's not the right size

Member Data Documentation

◆ mMapPhi

std::unordered_map<Kratos::VariableData::KeyType, Matrix::size_type> Kratos::RomResidualsUtility::mMapPhi
protected

◆ mNodalDofs

int Kratos::RomResidualsUtility::mNodalDofs
protected

◆ mNodalVariablesNames

std::vector< std::string > Kratos::RomResidualsUtility::mNodalVariablesNames
protected

◆ mPetrovGalerkinRomDofs

unsigned int Kratos::RomResidualsUtility::mPetrovGalerkinRomDofs
protected

◆ mpScheme

BaseSchemeType::Pointer Kratos::RomResidualsUtility::mpScheme
protected

◆ mrModelPart

ModelPart& Kratos::RomResidualsUtility::mrModelPart
protected

◆ mRomDofs

unsigned int Kratos::RomResidualsUtility::mRomDofs
protected

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