CArl
Code Arlequin / C++ implementation
common_functions.h File Reference
#include "common_header_libmesh.h"
#include "common_header.h"
#include "common_enums.h"

Go to the source code of this file.

Classes

struct  carl::IntersectionData
 
struct  carl::PointHash_3D
 
struct  carl::PointHash_3D_Equal
 

Namespaces

 carl
 

Functions

int kronecker_delta (unsigned int i, unsigned int j)
 
void clear_line ()
 
std::string carl::ClusterSchedulerType_to_string (ClusterSchedulerType input)
 
std::string carl::BaseCGPrecondType_to_string (BaseCGPrecondType input)
 
std::string carl::ExtSolverType_to_string (ExtSolverType input)
 
std::string carl::exec_command (const std::string &cmd)
 
void carl::invert_index_unordered_map (const std::unordered_map< int, int > &input_map, std::unordered_map< int, int > &output_map)
 
template<typename T >
void carl::jump_lines (T &filestream, unsigned int numberOfLines=1)
 
int carl::voigt_index_converter (int aaa, int bbb)
 
void carl::print_stats_to_file (std::vector< double > &vec_data, const std::string filename)
 
template<typename Sys >
void carl::reduced_system_init (Sys &system_input)
 

Function Documentation

void clear_line ( )

Definition at line 88 of file common_functions.cpp.

89 {
90  std::cout << '\r' << " " << "\r";
91 };
int kronecker_delta ( unsigned int  i,
unsigned int  j 
)

Definition at line 3 of file common_functions.cpp.

5 {
6  return i == j ? 1. : 0.;
7 };