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.
Typedefs | Functions
SigmoidalValueProjectionUtils Namespace Reference

Typedefs

using IndexType = std::size_t
 

Functions

bool HasVectorDuplicates (const std::vector< double > &rValues)
 
void CheckXYVectors (const std::vector< double > &rXValues, const std::vector< double > &rYValues)
 
IndexType GetUpperValueRangeIndex (const double Value, const std::vector< double > &rRanges)
 
double ProjectValueForward (const double xValue, const std::vector< double > &rXLimits, const std::vector< double > &rYLimits, const double Beta, const int PenaltyFactor)
 
double ProjectValueBackward (const double yValue, const std::vector< double > &rXLimits, const std::vector< double > &rYLimits, const double Beta, const int PenaltyFactor)
 
double ComputeFirstDerivativeAtValue (const double xValue, const std::vector< double > &rXLimits, const std::vector< double > &rYLimits, const double Beta, const int PenaltyFactor)
 

Typedef Documentation

◆ IndexType

using SigmoidalValueProjectionUtils::IndexType = typedef std::size_t

Function Documentation

◆ CheckXYVectors()

void SigmoidalValueProjectionUtils::CheckXYVectors ( const std::vector< double > &  rXValues,
const std::vector< double > &  rYValues 
)

◆ ComputeFirstDerivativeAtValue()

double SigmoidalValueProjectionUtils::ComputeFirstDerivativeAtValue ( const double  xValue,
const std::vector< double > &  rXLimits,
const std::vector< double > &  rYLimits,
const double  Beta,
const int  PenaltyFactor 
)

◆ GetUpperValueRangeIndex()

IndexType SigmoidalValueProjectionUtils::GetUpperValueRangeIndex ( const double  Value,
const std::vector< double > &  rRanges 
)

◆ HasVectorDuplicates()

bool SigmoidalValueProjectionUtils::HasVectorDuplicates ( const std::vector< double > &  rValues)

◆ ProjectValueBackward()

double SigmoidalValueProjectionUtils::ProjectValueBackward ( const double  yValue,
const std::vector< double > &  rXLimits,
const std::vector< double > &  rYLimits,
const double  Beta,
const int  PenaltyFactor 
)

◆ ProjectValueForward()

double SigmoidalValueProjectionUtils::ProjectValueForward ( const double  xValue,
const std::vector< double > &  rXLimits,
const std::vector< double > &  rYLimits,
const double  Beta,
const int  PenaltyFactor 
)