Functions | |
template<typename ScalarType > | |
ScalarType | aggregate_maximum (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const real_t p) |
computes aggregated maximum of values specified in vector vec . More... | |
template<typename ScalarType > | |
void | aggregate_maximum_denominator (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const real_t p, ScalarType &denom, ScalarType &v_max) |
Computes the denominator of the sensitivity of aggregated maximum function for use in later sensitivity computations. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_maximum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const uint_t i, const real_t p) |
computes sensitivity of aggregated maximum of values specified in vector vec with respect to i th value. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_maximum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const std::vector< ScalarType > &dvec, const real_t p) |
computes sensitivity of aggregated maximum of values specified in vector vec with respect to parameter ![]() | |
template<typename ScalarType > | |
ScalarType | aggregate_maximum_sensitivity (const std::vector< ScalarType > &vec, const uint_t i, const real_t p, const ScalarType &denom, const ScalarType &v_max) |
computes sensitivity of aggregated maximum of values specified in vector vec with respect to i th value. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_maximum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const std::vector< ScalarType > &dvec, const real_t p, const ScalarType &denom, const ScalarType &v_max) |
computes sensitivity of aggregated maximum of values specified in vector vec with respect to parameter ![]() | |
template<typename ScalarType > | |
ScalarType | aggregate_minimum (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const real_t p) |
computes aggregated minimum of values specified in vector vec . More... | |
template<typename ScalarType > | |
void | aggregate_minimum_denominator (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const real_t p, ScalarType &denom, ScalarType &v_min) |
Computes the denominator of the sensitivity of aggregated minimum function for use in later sensitivity computations. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_minimum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const uint_t i, const real_t p) |
computes sensitivity of aggregated minimum of values specified in vector vec with respect to i th value. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_minimum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const std::vector< ScalarType > &dvec, const real_t p) |
computes sensitivity of aggregated minimum of values specified in vector vec with respect to parameter ![]() | |
template<typename ScalarType > | |
ScalarType | aggregate_minimum_sensitivity (const std::vector< ScalarType > &vec, const uint_t i, const real_t p, const ScalarType &denom, const ScalarType &v_min) |
computes sensitivity of aggregated minimum of values specified in vector vec with respect to i th value. More... | |
template<typename ScalarType > | |
ScalarType | aggregate_minimum_sensitivity (const libMesh::Parallel::Communicator *comm, const std::vector< ScalarType > &vec, const std::vector< ScalarType > &dvec, const real_t p, const ScalarType &denom, const ScalarType &v_min) |
computes sensitivity of aggregated minimum of values specified in vector vec with respect to parameter ![]() | |
ScalarType MAST::Optimization::Aggregation::aggregate_maximum | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const real_t | p | ||
) |
computes aggregated maximum of values specified in vector vec
.
The aggregation constant is p
. The aggregation expression used is
, where, is the maximum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 248 of file discrete_aggregation.hpp.
void MAST::Optimization::Aggregation::aggregate_maximum_denominator | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const real_t | p, | ||
ScalarType & | denom, | ||
ScalarType & | v_max | ||
) |
Computes the denominator of the sensitivity of aggregated maximum function for use in later sensitivity computations.
The value is , where,
is the maximum value out of all values in
vec
. The denominator is returned in denom
and the minimum value is returned in v_max
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 362 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_maximum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const uint_t | i, | ||
const real_t | p | ||
) |
computes sensitivity of aggregated maximum of values specified in vector vec
with respect to i
th value.
The aggregation constant is p
. The aggregation expression used is
, where, is the maximum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 284 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_maximum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const std::vector< ScalarType > & | dvec, | ||
const real_t | p | ||
) |
computes sensitivity of aggregated maximum of values specified in vector vec
with respect to parameter .
The aggregation constant is p
. The sensitivity of values with respect to parameter is provided in dvec
. The sensitivity expression used is
, where, is the maximum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 323 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_maximum_sensitivity | ( | const std::vector< ScalarType > & | vec, |
const uint_t | i, | ||
const real_t | p, | ||
const ScalarType & | denom, | ||
const ScalarType & | v_max | ||
) |
computes sensitivity of aggregated maximum of values specified in vector vec
with respect to i
th value.
The aggregation constant is p
. The aggregation expression used is
, where, is the maximum value out of all values in
vec
. This method differs from the other in that the user provides the cached denominator of the sensitivity and the maximum value in denom
and v_max
.
Definition at line 395 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_maximum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const std::vector< ScalarType > & | dvec, | ||
const real_t | p, | ||
const ScalarType & | denom, | ||
const ScalarType & | v_max | ||
) |
computes sensitivity of aggregated maximum of values specified in vector vec
with respect to parameter .
The aggregation constant is p
. The sensitivity of values with respect to parameter is provided in dvec
. The sensitivity expression used is
, where, is the maximum value out of all values in
vec
. This method differs from the other in that the user provides the cached denominator of the sensitivity and the maximum value in denom
and v_max
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 420 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_minimum | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const real_t | p | ||
) |
computes aggregated minimum of values specified in vector vec
.
The aggregation constant is p
. The aggregation expression used is
, where, is the minimum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 44 of file discrete_aggregation.hpp.
void MAST::Optimization::Aggregation::aggregate_minimum_denominator | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const real_t | p, | ||
ScalarType & | denom, | ||
ScalarType & | v_min | ||
) |
Computes the denominator of the sensitivity of aggregated minimum function for use in later sensitivity computations.
The value is , where,
is the minimum value out of all values in
vec
. The denomimator is returned in denom
and the minimum value is returned in vmin
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 159 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_minimum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const uint_t | i, | ||
const real_t | p | ||
) |
computes sensitivity of aggregated minimum of values specified in vector vec
with respect to i
th value.
The aggregation constant is p
. The aggregation expression used is
, where, is the minimum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 80 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_minimum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const std::vector< ScalarType > & | dvec, | ||
const real_t | p | ||
) |
computes sensitivity of aggregated minimum of values specified in vector vec
with respect to parameter .
The aggregation constant is p
. The sensitivity of values with respect to parameter is provided in dvec
. The sensitivity expression used is
, where, is the minimum value out of all values in
vec
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the and the summation obtained from a collective.
Definition at line 119 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_minimum_sensitivity | ( | const std::vector< ScalarType > & | vec, |
const uint_t | i, | ||
const real_t | p, | ||
const ScalarType & | denom, | ||
const ScalarType & | v_min | ||
) |
computes sensitivity of aggregated minimum of values specified in vector vec
with respect to i
th value.
The aggregation constant is p
. The aggregation expression used is
, where, is the minimum value out of all values in
vec
. This method differs from the other in that the user provides the cached denominator of the sensitivity and the minimum value in denom
and v_min
.
Definition at line 192 of file discrete_aggregation.hpp.
ScalarType MAST::Optimization::Aggregation::aggregate_minimum_sensitivity | ( | const libMesh::Parallel::Communicator * | comm, |
const std::vector< ScalarType > & | vec, | ||
const std::vector< ScalarType > & | dvec, | ||
const real_t | p, | ||
const ScalarType & | denom, | ||
const ScalarType & | v_min | ||
) |
computes sensitivity of aggregated minimum of values specified in vector vec
with respect to parameter .
The aggregation constant is p
. The sensitivity of values with respect to parameter is provided in dvec
. The sensitivity expression used is
, where, is the minimum value out of all values in
vec
. This method differs from the other in that the user provides the cached denominator of the sensitivity and the minimum value in denom
and v_min
. If comm
is a non-null pointer then the computation is synchronized across all ranks with the summation obtained from a collective.
Definition at line 217 of file discrete_aggregation.hpp.