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 | List of all members
Kratos::OptimizationUtils Class Reference

#include <optimization_utils.h>

Collaboration diagram for Kratos::OptimizationUtils:

Public Types

Type definitions
using IndexType = std::size_t
 

Public Member Functions

template<>
IndexType GetVariableDimension (const Variable< double > &rVariable, const IndexType DomainSize)
 
template<>
IndexType GetVariableDimension (const Variable< array_1d< double, 3 >> &rVariable, const IndexType DomainSize)
 

Static Public Member Functions

Static operations
template<class TContainerType >
static GeometryData::KratosGeometryType GetContainerEntityGeometryType (const TContainerType &rContainer, const DataCommunicator &rDataCommunicator)
 
template<class TContainerType , class TDataType >
static bool IsVariableExistsInAllContainerProperties (const TContainerType &rContainer, const Variable< TDataType > &rVariable, const DataCommunicator &rDataCommunicator)
 
template<class TContainerType , class TDataType >
static bool IsVariableExistsInAtLeastOneContainerProperties (const TContainerType &rContainer, const Variable< TDataType > &rVariable, const DataCommunicator &rDataCommunicator)
 
template<class TContainerType >
static void CreateEntitySpecificPropertiesForContainer (ModelPart &rModelPart, TContainerType &rContainer)
 
template<class TDataType >
static IndexType GetVariableDimension (const Variable< TDataType > &rVariable, const IndexType DomainSize)
 
static void CopySolutionStepVariablesList (ModelPart &rDestinationModelPart, const ModelPart &rOriginModelPart)
 

Member Typedef Documentation

◆ IndexType

Member Function Documentation

◆ CopySolutionStepVariablesList()

void Kratos::OptimizationUtils::CopySolutionStepVariablesList ( ModelPart rDestinationModelPart,
const ModelPart rOriginModelPart 
)
static

◆ CreateEntitySpecificPropertiesForContainer()

template<class TContainerType >
template void Kratos::OptimizationUtils::CreateEntitySpecificPropertiesForContainer ( ModelPart rModelPart,
TContainerType &  rContainer 
)
static

◆ GetContainerEntityGeometryType()

template<class TContainerType >
template GeometryData::KratosGeometryType Kratos::OptimizationUtils::GetContainerEntityGeometryType ( const TContainerType &  rContainer,
const DataCommunicator rDataCommunicator 
)
static

◆ GetVariableDimension() [1/3]

template<>
IndexType Kratos::OptimizationUtils::GetVariableDimension ( const Variable< array_1d< double, 3 >> &  rVariable,
const IndexType  DomainSize 
)

◆ GetVariableDimension() [2/3]

template<>
IndexType Kratos::OptimizationUtils::GetVariableDimension ( const Variable< double > &  rVariable,
const IndexType  DomainSize 
)

◆ GetVariableDimension() [3/3]

template<class TDataType >
static IndexType Kratos::OptimizationUtils::GetVariableDimension ( const Variable< TDataType > &  rVariable,
const IndexType  DomainSize 
)
static

◆ IsVariableExistsInAllContainerProperties()

template<class TContainerType , class TDataType >
template bool Kratos::OptimizationUtils::IsVariableExistsInAllContainerProperties ( const TContainerType &  rContainer,
const Variable< TDataType > &  rVariable,
const DataCommunicator rDataCommunicator 
)
static

◆ IsVariableExistsInAtLeastOneContainerProperties()

template<class TContainerType , class TDataType >
template bool Kratos::OptimizationUtils::IsVariableExistsInAtLeastOneContainerProperties ( const TContainerType &  rContainer,
const Variable< TDataType > &  rVariable,
const DataCommunicator rDataCommunicator 
)
static

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