Registry
ug4Bridge::Util::Internal Namespace Reference

Functions

void AbortRun ()
 Sets an internal variable to true, to indicate that the run should be aborted on the next call to TerminateAbortedRun. More...
 
void ClearAbortRunFlag ()
 Clear the abort-run-flag. More...
 
bool DefinedUG_DEBUG ()
 
bool DefinedUG_ENABLE_DEBUG_LOGS ()
 
std::string FilenameStringEscape (std::string str)
 
std::string GetBuildHostname ()
 
std::string GetCompileDate ()
 
std::string GetGITRevision ()
 
std::string GetOperatingSystem ()
 
std::string GetSVNRevision ()
 
bool IsDefinedBLAS_AVAILABLE ()
 
bool IsDefinedLAPACK_AVAILABLE ()
 
bool IsDefinedUG_CPU_1 ()
 
bool IsDefinedUG_CPU_2 ()
 
bool IsDefinedUG_CPU_3 ()
 
bool IsDefinedUG_DEBUG ()
 
bool IsDefinedUG_DIM_1 ()
 
bool IsDefinedUG_DIM_2 ()
 
bool IsDefinedUG_DIM_3 ()
 
bool IsDefinedUG_ENABLE_DEBUG_LOGS ()
 
bool IsDefinedUG_HLIBPRO ()
 
bool IsDefinedUG_HYPRE ()
 
bool IsDefinedUG_JSON ()
 
bool IsDefinedUG_PARALLEL ()
 
size_t LevenshteinDistance (std::string s1, std::string s2)
 
void PrintBuildConfiguration ()
 
void PrintBuildConfigurationExtended ()
 
std::string ReplaceAll (std::string target, std::string old, std::string new)
 
void TerminateAbortedRun ()
 Terminates the current run if AbortRun() has been called before. More...
 
void ug_backtrace ()
 prints lua/shiny/gcc backtrace information More...
 
bool WildcardMatch (const char *str, const char *pattern)
 
std::string XMLStringEscape (std::string str)
 

Function Documentation

◆ AbortRun()

void ug4Bridge::Util::Internal::AbortRun ( )

Sets an internal variable to true, to indicate that the run should be aborted on the next call to TerminateAbortedRun.

◆ ClearAbortRunFlag()

void ug4Bridge::Util::Internal::ClearAbortRunFlag ( )

Clear the abort-run-flag.

◆ DefinedUG_DEBUG()

bool ug4Bridge::Util::Internal::DefinedUG_DEBUG ( )

◆ DefinedUG_ENABLE_DEBUG_LOGS()

bool ug4Bridge::Util::Internal::DefinedUG_ENABLE_DEBUG_LOGS ( )

◆ FilenameStringEscape()

std::string ug4Bridge::Util::Internal::FilenameStringEscape ( std::string  str)
Parameters
[in]str
Returns
string usable as filename

◆ GetBuildHostname()

std::string ug4Bridge::Util::Internal::GetBuildHostname ( )

◆ GetCompileDate()

std::string ug4Bridge::Util::Internal::GetCompileDate ( )

◆ GetGITRevision()

std::string ug4Bridge::Util::Internal::GetGITRevision ( )

◆ GetOperatingSystem()

std::string ug4Bridge::Util::Internal::GetOperatingSystem ( )

◆ GetSVNRevision()

std::string ug4Bridge::Util::Internal::GetSVNRevision ( )

◆ IsDefinedBLAS_AVAILABLE()

bool ug4Bridge::Util::Internal::IsDefinedBLAS_AVAILABLE ( )

◆ IsDefinedLAPACK_AVAILABLE()

bool ug4Bridge::Util::Internal::IsDefinedLAPACK_AVAILABLE ( )

◆ IsDefinedUG_CPU_1()

bool ug4Bridge::Util::Internal::IsDefinedUG_CPU_1 ( )

◆ IsDefinedUG_CPU_2()

bool ug4Bridge::Util::Internal::IsDefinedUG_CPU_2 ( )

◆ IsDefinedUG_CPU_3()

bool ug4Bridge::Util::Internal::IsDefinedUG_CPU_3 ( )

◆ IsDefinedUG_DEBUG()

bool ug4Bridge::Util::Internal::IsDefinedUG_DEBUG ( )

◆ IsDefinedUG_DIM_1()

bool ug4Bridge::Util::Internal::IsDefinedUG_DIM_1 ( )

◆ IsDefinedUG_DIM_2()

bool ug4Bridge::Util::Internal::IsDefinedUG_DIM_2 ( )

◆ IsDefinedUG_DIM_3()

bool ug4Bridge::Util::Internal::IsDefinedUG_DIM_3 ( )

◆ IsDefinedUG_ENABLE_DEBUG_LOGS()

bool ug4Bridge::Util::Internal::IsDefinedUG_ENABLE_DEBUG_LOGS ( )

◆ IsDefinedUG_HLIBPRO()

bool ug4Bridge::Util::Internal::IsDefinedUG_HLIBPRO ( )

◆ IsDefinedUG_HYPRE()

bool ug4Bridge::Util::Internal::IsDefinedUG_HYPRE ( )

◆ IsDefinedUG_JSON()

bool ug4Bridge::Util::Internal::IsDefinedUG_JSON ( )

◆ IsDefinedUG_PARALLEL()

bool ug4Bridge::Util::Internal::IsDefinedUG_PARALLEL ( )

◆ LevenshteinDistance()

size_t ug4Bridge::Util::Internal::LevenshteinDistance ( std::string  s1,
std::string  s2 
)
Parameters
[in]s1
[in]s2
Returns
Levenshtein distance of s1 and s2

◆ PrintBuildConfiguration()

void ug4Bridge::Util::Internal::PrintBuildConfiguration ( )

◆ PrintBuildConfigurationExtended()

void ug4Bridge::Util::Internal::PrintBuildConfigurationExtended ( )

◆ ReplaceAll()

std::string ug4Bridge::Util::Internal::ReplaceAll ( std::string  target,
std::string  old,
std::string  new 
)
Parameters
[in]target
[in]old
[in]new
Returns
replace string

◆ TerminateAbortedRun()

void ug4Bridge::Util::Internal::TerminateAbortedRun ( )

Terminates the current run if AbortRun() has been called before.

◆ ug_backtrace()

void ug4Bridge::Util::Internal::ug_backtrace ( )

prints lua/shiny/gcc backtrace information

◆ WildcardMatch()

bool ug4Bridge::Util::Internal::WildcardMatch ( const char *  str,
const char *  pattern 
)
Parameters
[in]str
[in]pattern
Returns
true if match

◆ XMLStringEscape()

std::string ug4Bridge::Util::Internal::XMLStringEscape ( std::string  str)
Parameters
[in]str
Returns
string usable in XML files