OGS
|
Functions | |
template<typename... Ts> | |
auto | reflect (std::type_identity< std::tuple< Ts... > >) |
template<has_reflect T> | |
auto | reflect (std::type_identity< T >) |
template<typename T , typename Tag > | |
auto | reflect (std::type_identity< BaseLib::StrongType< T, Tag > >) |
template<int Dim, typename Accessor_IPDataVecInLocAsm , typename Accessor_CurrentLevelFromIPDataVecElement > | |
GetFlattenedIPDataFromLocAsm< Dim, std::remove_cvref_t< Accessor_IPDataVecInLocAsm >, std::remove_cvref_t< Accessor_CurrentLevelFromIPDataVecElement > > | getFlattenedIPDataFromLocAsm (Accessor_IPDataVecInLocAsm accessor_ip_data_vec_in_loc_asm, Accessor_CurrentLevelFromIPDataVecElement accessor_current_level_from_ip_data_vec_element) |
template<int Dim, typename Accessor_IPDataVecInLocAsm > | |
auto | getFlattenedIPDataFromLocAsm (Accessor_IPDataVecInLocAsm &&accessor_ip_data_vec_in_loc_asm) |
template<int Dim, typename Callback , typename ReflectionDataTuple , typename Accessor_IPDataVecInLocAsm , typename Accessor_CurrentLevelFromIPDataVecElement > | |
void | forEachReflectedFlattenedIPDataAccessor (Callback const &callback, ReflectionDataTuple const &reflection_data, Accessor_IPDataVecInLocAsm const &accessor_ip_data_vec_in_loc_asm, Accessor_CurrentLevelFromIPDataVecElement const &accessor_current_level_from_ip_data_vec_element) |
template<int Dim, typename Callback , typename ReflectionDataTuple , typename Accessor_IPDataVecInLocAsm > | |
void | forEachReflectedFlattenedIPDataAccessor (Callback const &callback, ReflectionDataTuple const &reflection_data, Accessor_IPDataVecInLocAsm const &accessor_ip_data_vec_in_loc_asm) |
template<int dim, typename IPData , typename Accessor > | |
void | setIPData (double const *values, std::vector< IPData > &ip_data_vector, Accessor const &accessor) |
template<int dim, typename IPData , typename Accessor_CurrentLevelFromIPData , typename Class , typename Accessor > | |
bool | setIPDataIfNameMatches (std::string_view const name, double const *values, std::vector< IPData > &ip_data_vector, Accessor_CurrentLevelFromIPData const &accessor, ReflectionData< Class, Accessor > const &refl_data) |
template<int dim, typename IPData , typename Accessor_CurrentLevelFromIPData , typename... Classes, typename... Accessors, std::size_t... Idcs> | |
bool | reflectSetIPData (std::string_view const name, double const *values, std::vector< IPData > &ip_data_vector, Accessor_CurrentLevelFromIPData const &accessor, std::tuple< ReflectionData< Classes, Accessors >... > const &refl_data, std::index_sequence< Idcs... >) |
template<int dim, typename IPData , typename Accessor_CurrentLevelFromIPData , typename... Classes, typename... Accessors> | |
bool | reflectSetIPData (std::string_view const name, double const *values, std::vector< IPData > &ip_data_vector, Accessor_CurrentLevelFromIPData const &accessor, std::tuple< ReflectionData< Classes, Accessors >... > const &refl_data) |
Variables | |
template<typename T > | |
constexpr bool | is_raw_data_v = is_raw_data<T>::value |
void ProcessLib::Reflection::detail::forEachReflectedFlattenedIPDataAccessor | ( | Callback const & | callback, |
ReflectionDataTuple const & | reflection_data, | ||
Accessor_IPDataVecInLocAsm const & | accessor_ip_data_vec_in_loc_asm ) |
Definition at line 432 of file ReflectionIPData.h.
References forEachReflectedFlattenedIPDataAccessor().
void ProcessLib::Reflection::detail::forEachReflectedFlattenedIPDataAccessor | ( | Callback const & | callback, |
ReflectionDataTuple const & | reflection_data, | ||
Accessor_IPDataVecInLocAsm const & | accessor_ip_data_vec_in_loc_asm, | ||
Accessor_CurrentLevelFromIPDataVecElement const & | accessor_current_level_from_ip_data_vec_element ) |
Calls the given callback
for each flattened IP data accessor obtained recursively from the given reflection
data.
The callback
function must take (i) the name of the IP data (std::string
), (ii) their number of components (unsigned
) and a flattened IP data accessor of type ProcessLib::Reflection::detail::GetFlattenedIPDataFromLocAsm as arguments.
Definition at line 372 of file ReflectionIPData.h.
References ProcessLib::Reflection::ReflectionData< Class, Accessor >::accessor, forEachReflectedFlattenedIPDataAccessor(), getFlattenedIPDataFromLocAsm(), is_raw_data_v, boost::mp11::mp_is_list_v, ProcessLib::Reflection::ReflectionData< Class, Accessor >::name, and reflect().
Referenced by forEachReflectedFlattenedIPDataAccessor(), forEachReflectedFlattenedIPDataAccessor(), and ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor().
auto ProcessLib::Reflection::detail::getFlattenedIPDataFromLocAsm | ( | Accessor_IPDataVecInLocAsm && | accessor_ip_data_vec_in_loc_asm | ) |
Definition at line 350 of file ReflectionIPData.h.
References getFlattenedIPDataFromLocAsm().
GetFlattenedIPDataFromLocAsm< Dim, std::remove_cvref_t< Accessor_IPDataVecInLocAsm >, std::remove_cvref_t< Accessor_CurrentLevelFromIPDataVecElement > > ProcessLib::Reflection::detail::getFlattenedIPDataFromLocAsm | ( | Accessor_IPDataVecInLocAsm | accessor_ip_data_vec_in_loc_asm, |
Accessor_CurrentLevelFromIPDataVecElement | accessor_current_level_from_ip_data_vec_element ) |
Definition at line 335 of file ReflectionIPData.h.
Referenced by forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor(), and getFlattenedIPDataFromLocAsm().
auto ProcessLib::Reflection::detail::reflect | ( | std::type_identity< BaseLib::StrongType< T, Tag > > | ) |
Definition at line 136 of file ReflectionIPData.h.
References is_raw_data_v, and ProcessLib::Reflection::makeReflectionData().
auto ProcessLib::Reflection::detail::reflect | ( | std::type_identity< std::tuple< Ts... > > | ) |
Definition at line 110 of file ReflectionIPData.h.
References ProcessLib::Reflection::reflectWithoutName().
Referenced by forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::reflectSetIPData(), and setIPDataIfNameMatches().
auto ProcessLib::Reflection::detail::reflect | ( | std::type_identity< T > | ) |
Definition at line 124 of file ReflectionIPData.h.
bool ProcessLib::Reflection::detail::reflectSetIPData | ( | std::string_view const | name, |
double const * | values, | ||
std::vector< IPData > & | ip_data_vector, | ||
Accessor_CurrentLevelFromIPData const & | accessor, | ||
std::tuple< ReflectionData< Classes, Accessors >... > const & | refl_data ) |
Definition at line 148 of file ReflectionSetIPData.h.
References reflectSetIPData().
bool ProcessLib::Reflection::detail::reflectSetIPData | ( | std::string_view const | name, |
double const * | values, | ||
std::vector< IPData > & | ip_data_vector, | ||
Accessor_CurrentLevelFromIPData const & | accessor, | ||
std::tuple< ReflectionData< Classes, Accessors >... > const & | refl_data, | ||
std::index_sequence< Idcs... > | ) |
Definition at line 132 of file ReflectionSetIPData.h.
References setIPDataIfNameMatches().
Referenced by reflectSetIPData(), ProcessLib::Reflection::reflectSetIPData(), and setIPDataIfNameMatches().
void ProcessLib::Reflection::detail::setIPData | ( | double const * | values, |
std::vector< IPData > & | ip_data_vector, | ||
Accessor const & | accessor ) |
Definition at line 24 of file ReflectionSetIPData.h.
References is_raw_data_v, MathLib::KelvinVector::kelvin_vector_dimensions(), and MathLib::KelvinVector::symmetricTensorToKelvinVector().
Referenced by setIPDataIfNameMatches().
bool ProcessLib::Reflection::detail::setIPDataIfNameMatches | ( | std::string_view const | name, |
double const * | values, | ||
std::vector< IPData > & | ip_data_vector, | ||
Accessor_CurrentLevelFromIPData const & | accessor, | ||
ReflectionData< Class, Accessor > const & | refl_data ) |
Definition at line 93 of file ReflectionSetIPData.h.
References ProcessLib::Reflection::ReflectionData< Class, Accessor >::accessor, is_raw_data_v, ProcessLib::Reflection::ReflectionData< Class, Accessor >::name, reflect(), reflectSetIPData(), and setIPData().
Referenced by reflectSetIPData().
|
constexpr |
Definition at line 54 of file ReflectionIPData.h.
Referenced by forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor(), reflect(), setIPData(), and setIPDataIfNameMatches().