<commit_before>#ifndef NUMERICS_H
#define NUMERICS_H

#include "libmesh/libmesh_common.h"

using namespace libMesh;

// gravitational acceleration, or gravity constant
static const Real gravity_const = 9.81;

/**
 * The sign function
 * @param val The argument of the sign function
 * @return -1 for negative values, 0 for zero and 1 for positive values
 */
template <typename T>
int sgn(T val)
{
  return (T(0) < val) - (val < T(0));
}


/**
 * Compute Reynolds number
 *
 * @param volume_fraction The volume fraction of the phase
 * @param rho The density of the phase<commit_msg>Two phase closures for pre-CHF wall heat transfer coefficient<commit_after>#ifndef NUMERICS_H
#define NUMERICS_H

#include "libmesh/libmesh_common.h"

using namespace libMesh;

// gravitational acceleration, or gravity constant
static const Real gravity_const = 9.81;
// Critical pressure
static const Real P_critical = 22.09E+6;

/**
 * The sign function
 * @param val The argument of the sign function
 * @return -1 for negative values, 0 for zero and 1 for positive values
 */
template <typename T>
int sgn(T val)
{
  return (T(0) < val) - (val < T(0));
}


/**
 * Compute Reynolds number
 *
 * @param volume_fraction The volume fraction of the phase
 * @param rho The density of the phase
{'fraction_non_alphanumeric': 0.09340659340659341, 'fraction_numerical': 0.016483516483516484, 'mean_word_length': 4.1, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6421733', 'n_tokens_mistral': 413, 'n_tokens_neox': 382, 'n_words': 158}