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.
Namespaces | Macros | Typedefs | Functions
sigmoidal_projection_utils.cpp File Reference
#include <algorithm>
#include "expression/literal_flat_expression.h"
#include "includes/define.h"
#include "utilities/parallel_utilities.h"
#include "sigmoidal_projection_utils.h"
Include dependency graph for sigmoidal_projection_utils.cpp:

Namespaces

 SigmoidalValueProjectionUtils
 
 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 

Macros

#define KRATOS_INSTANTIATE_SIGMOIDAL_PROJECTION_UTIL_METHODS(CONTAINER_TYPE)
 

Typedefs

using SigmoidalValueProjectionUtils::IndexType = std::size_t
 

Functions

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

Macro Definition Documentation

◆ KRATOS_INSTANTIATE_SIGMOIDAL_PROJECTION_UTIL_METHODS

#define KRATOS_INSTANTIATE_SIGMOIDAL_PROJECTION_UTIL_METHODS (   CONTAINER_TYPE)
Value:
template KRATOS_API(OPTIMIZATION_APPLICATION) ContainerExpression<CONTAINER_TYPE> SigmoidalProjectionUtils::ProjectForward( \
const ContainerExpression<CONTAINER_TYPE>&, const std::vector<double>&, \
const std::vector<double>&, const double, const int); \
template KRATOS_API(OPTIMIZATION_APPLICATION) ContainerExpression<CONTAINER_TYPE> SigmoidalProjectionUtils::ProjectBackward( \
const ContainerExpression<CONTAINER_TYPE>&, const std::vector<double>&, \
const std::vector<double>&, const double, const int); \
template KRATOS_API(OPTIMIZATION_APPLICATION) ContainerExpression<CONTAINER_TYPE> SigmoidalProjectionUtils::CalculateForwardProjectionGradient( \
const ContainerExpression<CONTAINER_TYPE>&, const std::vector<double>&, \
const std::vector<double>&, const double, const int);
#define KRATOS_API(...)
Definition: kratos_export_api.h:40