proteus  1.8.1
C/C++/Fortran libraries
Files | Functions
transportCoefficients

A C library for coefficients of PDE's. More...

Files

file  transportCoefficients.c
 

Functions

void groundwaterTransportCoefficientsEvaluate (const int nPoints, const int nSpace, const double omega, const double d, const double alpha_L, const double alpha_T, const double *v, const double *u, double *m, double *dm, double *f, double *df, double *a)
 
void TwophaseNavierStokes_ST_LS_SO_3D_Evaluate (const int nPoints, const double eps_rho, const double eps_mu, const double sigma, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *n, const double *kappa, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_uv_diff_ten, double *mom_uw_diff_ten, double *mom_vu_diff_ten, double *mom_vw_diff_ten, double *mom_wu_diff_ten, double *mom_wv_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void VOFCoefficientsEvaluate (int nPoints, int nSpace, double eps, double *v, double *phi, double *u, double *m, double *dm, double *f, double *df)
 
void redistanceLevelSetSandFCoefficientsEvaluate (int nSimplex, int nPointsPerSimplex, int nSpace, double eps, double *u_levelSet, double *dV, double *u, double *grad_u, double *m, double *dm, double *H, double *dH, double *r)
 
void conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2 (const int nSimplex, const int nPointsPerSimplex, const int nSpace, const int *materialTypes, const double rho, const double beta, const double *gravity, const double *alpha, const double *n, const double *thetaR, const double *thetaSR, const double *KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void kEpsilon_2D_Evaluate (int nPoints, int nSpace, double sigma_k, double sigma_e, double c_1, double c_2, double c_mu, double c_e, double nu, double *velocity, double *gradu, double *gradv, double *k, double *epsilon, double *m_k, double *dm_k, double *m_e, double *dm_e, double *phi_k, double *dphi_k, double *phi_e, double *dphi_e, double *f_k, double *df_k, double *f_e, double *df_e, double *a_k, double *da_k_dk, double *da_k_de, double *a_e, double *da_e_dk, double *da_e_de, double *r_k, double *dr_k_dk, double *dr_k_de, double *r_e, double *dr_e_dk, double *dr_e_de)
 
double smoothedHeaviside (double eps, double phi)
 
double smoothedHeaviside_integral (double eps, double phi)
 
double smoothedDirac (double eps, double phi)
 
void linearADR_ConstantCoefficientsEvaluate (const int nPoints, const int nSpace, const double M, const double *A, const double *B, const double C, const double t, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *r, double *dr)
 
void nonlinearADR_pqrstEvaluate (const int nPoints, const int nSpace, const double M, const double *A, const double *B, const double C, const double p_pow, const double q_pow, const double r_pow, const double s_pow, const double t_pow, const double t, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi, double *r, double *dr)
 
void nonlinearADR_pqrstDualEvaluate (const int nPoints, const int nSpace, const double M, const double *A, const double *B, const double C, const double p1, const double q1, const double r1, const double s1, const double t1, const double p2, const double q2, const double r2, const double s2, const double t2, const double t, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi, double *r, double *dr)
 
void unitSquareRotationEvaluate (const int nPoints, const int nSpace, const double *x, const double *u, double *m, double *dm, double *f, double *df)
 
void rotatingPulseVelEvaluate (const int nPoints, const int nSpace, const double self_a, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void disRotatingPulseVelEvaluate (const int nPoints, const int nSpace, const double self_a, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void disVelEvaluate (const int nPoints, const int nSpace, const double self_a, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void burgersDiagonalVelEvaluate (const int nPoints, const int nSpace, const double self_a, const double *self_v, const double *u, double *m, double *dm, double *f, double *df, double *a, double *phi, double *dphi)
 
void twophasePotentialFlowEvaluate (int nPoints, int nSpace, double *M, double *A, double *B, double *Bcon, double *C, double t, double *x, double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi, double *r, double *dr)
 
void twophasePotentialFlowUpdateFreeSurface (int nPoints, int nSpace, double eps, double *u_levelSet, double M1, double M2, double *M, double *A1, double *A2, double *A, double *B1, double *B2, double *B, double *Bcon1, double *Bcon2, double *Bcon, double C1, double C2, double *C)
 
void twophaseLevelSetCoefficientsUpdateVelocity (int nPoints, int nSpace, double v_scale, double *vIn, double *vOut)
 
void twophaseLevelSetCoefficientsEvaluate (int nPoints, int nSpace, double *B, double t, double *x, double *u, double *grad_u, double *m, double *dm, double *h, double *dh, double *rh)
 
void twophaseLevelSetCoefficientsEvaluateCI (int nPoints, int nSpace, double *B, double t, double *x, double *u, double *m, double *dm, double *f, double *df, double *a, double *da, double *phi, double *dphi, double *r, double *dr)
 
void ncLevelSetCoefficientsEvaluate (int nPoints, int nSpace, double *v, double *u, double *grad_u, double *m, double *dm, double *H, double *dH)
 
void cLevelSetCoefficientsEvaluate (int nPoints, int nSpace, double *v, double *u, double *m, double *dm, double *f, double *df)
 
void levelSetCurvatureCoefficientsEvaluate (int nPoints, int nSpace, double *grad_phi, double *u, double *f, double *r, double *dr)
 
void twophaseSignedDistanceCoefficientsUpdateSignFunction (int nPoints, double eps, double *u_levelSet, double *S)
 
void twophaseSignedDistanceCoefficientsEvaluate (int nPoints, int nSpace, double *S, double *u, double *grad_u, double *m, double *dm, double *h, double *dh, double *rh)
 
void redistanceLevelSetCoefficientsEvaluate (int nPoints, int nSpace, double eps, double *u_levelSet, double *u, double *grad_u, double *m, double *dm, double *H, double *dH, double *r)
 
void darcySharpInterfaceFlowEvaluate (int nPoints, int nSpace, double Km, double rhoM, double Kp, double rhoP, double eps, double *gravity_u, double *u, double *gradu, double *u_levelSet, double *phi_pot, double *a, double *f, double *r, double *m, double *dphi_pot, double *da, double *df, double *dr, double *dm)
 
void darcySharpInterfaceFlowImEvaluate (int nPoints, int nSpace, double Km, double rhoM, double Kp, double rhoP, double eps, double *gravity_u, double *u, double *gradu, double *u_levelSet, double *phi_pot, double *a, double *f, double *r, double *m, double *dphi_pot, double *da, double *df, double *dr, double *dm)
 
void conservativeHeadRichardsMualemVanGenuchtenHomEvaluate (const int nPoints, const int nSpace, const double rho, const double beta, const double *gravity, const double *x, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void conservativeHeadRichardsL2projMualemVanGenuchtenHomEvaluate (const int nSimplices, const int nPointsPerSimplex, const int nSpace, const double rho, const double *gravity, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *dV, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeHeadRichardsL2projBndMualemVanGenuchtenHomEvaluate (const int nElements, const int nElementBoundaries_element, const int nPointsPerElementBoundary, const int nSpace, const double rho, const double *gravity, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *dV, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeHeadRichardsL2projMualemVanGenuchtenHetEvaluate (const int nSimplices, const int nPointsPerSimplex, const int nSpace, const double rho, const double *gravity, const double *alpha, const double *n, const double *thetaR, const double *thetaSR, const double *KWs, double *dV, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeTotalHeadRichardsMualemVanGenuchtenHomEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double *x, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void l2projectScalar (const int nSimplices, const int nPointsPerSimplex, double *dV, double *r)
 
void l2projectVector (const int nSimplices, const int nPointsPerSimplex, const int nSpace, double *dV, double *r)
 
void l2project2Tensor (const int nSimplices, const int nPointsPerSimplex, const int nSpace, double *dV, double *r)
 
void conservativeHeadRichardsMualemVanGenuchtenHetEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double *alpha, const double *n, const double *thetaR, const double *thetaSR, const double *KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeSatRichardsMualemVanGenuchtenHomEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double *x, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void conservativeHeadRichardsBrooksCoreyBurdineHetEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double *lambda, const double *pd, const double *thetaR, const double *thetaS, const double *KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeHeadRichardsBrooksCoreyBurdineHomEvaluate (const int nPoints, const int nSpace, const double rho, const double beta, const double *gravity, const double lambda, const double pd, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void conservativeSatRichardsBrooksCoreyBurdineHomEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double lambda, const double pd, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da, double *phi, double *dphi)
 
void conservativeHeadRichardsBCBfromMVGHomEvaluate (const int nPoints, const int nSpace, const double rho, const double *gravity, const double alpha, const double n, const double m, const double thetaR, const double thetaSR, const double KWs, double *u, double *mass, double *dmass, double *f, double *df, double *a, double *da)
 
void NavierStokes_2D_Evaluate (const int nPoints, const double rho, const double nu, const double *g, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void NavierStokes_3D_Evaluate (const int nPoints, const double rho, const double nu, const double *g, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void Stokes_2D_Evaluate (const int nPoints, const double rho, const double nu, const double *g, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void StokesP_2D_Evaluate (const int nPoints, const double rho, const double nu, const double *g, const double *p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_p, double *mom_v_adv, double *dmom_v_adv_p, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source)
 
void Stokes_3D_Evaluate (const int nPoints, const double rho, const double nu, const double *g, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void TwophaseNavierStokes_LS_SO_2D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void TwophaseNavierStokes_ST_LS_SO_2D_Evaluate (const int nPoints, const double eps_rho, const double eps_mu, const double sigma, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *n, const double *kappa, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_uv_diff_ten, double *mom_vu_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void TwophaseNavierStokes_LS_SO_3D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void TwophaseStokes_LS_SO_2D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void TwophaseStokes_LS_SO_3D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *phi, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void TwophaseNavierStokes_VOF_SO_2D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *vof, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void TwophaseNavierStokes_VOF_SO_3D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *vof, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void TwophaseStokes_VOF_SO_2D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *vof, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void TwophaseStokes_VOF_SO_3D_Evaluate (const int nPoints, const double eps, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *g, const double *vof, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void VolumeAveragedNavierStokesFullDevStress_2D_Evaluate (const int nPoints, const double rho, const double mu, const double *meanGrainSize, const double *g, const double *p, const double *grad_p, const double *u, const double *v, const double *porosity, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_uv_diff_ten, double *mom_vu_diff_ten, double *mom_u_source, double *mom_v_source, double *dmom_u_source_u, double *dmom_u_source_v, double *dmom_v_source_u, double *dmom_v_source_v, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void VolumeAveragedNavierStokesFullDevStress_3D_Evaluate (const int nPoints, const double rho, const double mu, const double *meanGrainSize, const double *g, const double *p, const double *grad_p, const double *u, const double *v, const double *w, const double *porosity, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_uv_diff_ten, double *mom_uw_diff_ten, double *mom_vu_diff_ten, double *mom_vw_diff_ten, double *mom_wu_diff_ten, double *mom_wv_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_w_source, double *dmom_u_source_u, double *dmom_u_source_v, double *dmom_u_source_w, double *dmom_v_source_u, double *dmom_v_source_v, double *dmom_v_source_w, double *dmom_w_source_u, double *dmom_w_source_v, double *dmom_w_source_w, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 
void VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate (const int nPoints, const int killNonlinearDrag, const double eps_rho, const double eps_mu, const double sigma, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *meanGrainSize, const double *g, const double *phi, const double *n, const double *kappa, const double *p, const double *grad_p, const double *u, const double *v, const double *porosity, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_uv_diff_ten, double *mom_vu_diff_ten, double *mom_u_source, double *mom_v_source, double *dmom_u_source_u, double *dmom_u_source_v, double *dmom_v_source_u, double *dmom_v_source_v, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void VolumeAveragedVOFCoefficientsEvaluate (int nPoints, int nSpace, double eps, double *v, double *phi, double *porosity, double *u, double *m, double *dm, double *f, double *df)
 
void unitSquareVortexEvaluate (const int nPoints, const int nSpace, double t, const double *x, const double *u, double *m, double *dm, double *f, double *df)
 
void constantVelocityLevelSetEvaluate (const int nPoints, const int nSpace, const double *b, const double *x, const double *u, const double *gradu, double *m, double *dm, double *f, double *df, double *H, double *dH)
 
void constantNormalVelocityLevelSetEvaluate (const int nPoints, const int nSpace, double b, const double *x, const double *u, const double *gradu, double *m, double *dm, double *f, double *df, double *H, double *dH)
 
void unitSquareVortexLevelSetEvaluate (const int nPoints, const int nSpace, double t, const double *x, const double *u, const double *gradu, double *m, double *dm, double *f, double *df, double *H, double *dH)
 
void unitSquareRotationLevelSetEvaluate (const int nPoints, const int nSpace, double t, const double *x, const double *u, const double *gradu, double *m, double *dm, double *f, double *df, double *H, double *dH)
 
void FractionalFlowPhaseForm_saturationEvaluate (const int nPoints, const int nSpace, const int nc, const int pskModelFlag, const double Kbar, const double rhon, const double rhow, const double *g, const double g_norm, const double alpha, const double bc_lambda, const double bc_pd, const double mvg_n, const double mvg_m, const double omega, const double mun, const double muw, const double sw_min, const double sw_max, const double M, const double R, const double Temp, const double p_o, const double b, double *u, double *m, double *dm, double *phi, double *dphi, double *f, double *df, double *a, double *da, double *q_t, double *psiw)
 
void FractionalFlowPhaseForm_potentialEvaluate (const int nPoints, const int nSpace, const int nc, const int pskModelFlag, const double Kbar, const double rhon, const double rhow, const double *g, const double g_norm, const double alpha, const double bc_lambda, const double bc_pd, const double mvg_n, const double mvg_m, const double omega, const double mun, const double muw, const double sw_min, const double sw_max, const double M, const double R, const double Temp, const double p_o, const double b, double *u, double *m, double *dm, double *phi, double *dphi, double *f, double *df, double *a, double *da, double *s_w, double *grad_psic)
 
void FractionalFlowPhaseForm_saturationHetEvaluate (const int nPoints, const int nSpace, const int nc, const int pskModelFlag, const double *Kbar, const double rhon, const double rhow, const double *g, const double *alpha, const double *bc_lambda, const double *bc_pd, const double *mvg_m, const double *thetaS, const double *thetaR, const double mun, const double muw, const double b, double *u, double *m, double *dm, double *phi, double *dphi, double *f, double *df, double *a, double *da, double *q_t)
 
void FractionalFlowPhaseForm_potentialHetEvaluate (const int nPoints, const int nSpace, const int nc, const int pskModelFlag, const double *Kbar, const double rhon, const double rhow, const double *g, const double *alpha, const double *bc_lambda, const double *bc_pd, const double *mvg_m, const double *thetaS, const double *thetaR, const double mun, const double muw, const double b, double *u, double *m, double *dm, double *phi, double *dphi, double *f, double *df, double *a, double *da, double *s_w, double *grad_psic)
 
void TwophaseDarcyFC_Evaluate (const int nPoints, const int nSpace, const int pskModelFlag, const double Kbar, const double rhon, const double rhow, const double *g, const double *x, const double alpha, const double bc_lambda, const double bc_pd, const double mvg_n, const double mvg_m, const double omega, const double omega_r, const double mun, const double muw, const double b, double *sw, double *psiw, double *mw, double *dmw, double *mn, double *dmn, double *phi_psiw, double *dphi_psiw_dpsiw, double *phi_psin, double *dphi_psin_dpsiw, double *dphi_psin_dsw, double *fw, double *dfw, double *fn, double *dfn, double *aw, double *daw, double *an, double *dan)
 
void TwophaseFFDarcyFC_Evaluate (const int nPoints, const int nSpace, const int pskModelFlag, const double Kbar, const double rhon, const double rhow, const double *g, const double *x, const double alpha, const double bc_lambda, const double bc_pd, const double mvg_n, const double mvg_m, const double omega, const double omega_r, const double mun, const double muw, const double b, double *sw, double *psiw, double *mw, double *dmw_dsw, double *mm, double *dmm_dsw, double *phi_psic, double *dphi_psic_dsw, double *phi_psiw, double *dphi_psiw_dpsiw, double *fm, double *dfm_dsw, double *aw_psiw, double *daw_psiw_dsw, double *am_psiw, double *dam_psiw_dsw, double *am_psic, double *dam_psic_dsw)
 
void TwophaseDarcyFCHet_Evaluate (const int nPoints, const int nSpace, const int pskModelFlag, const double *Kbar, const double rhon, const double rhow, const double *g, const double *x, const double *alpha, const double *bc_lambda, const double *bc_pd, const double *mvg_m, const double *omega, const double *omega_r, const double mun, const double muw, const double b, double *sw, double *psiw, double *mw, double *dmw, double *mn, double *dmn, double *phi_psiw, double *dphi_psiw_dpsiw, double *phi_psin, double *dphi_psin_dpsiw, double *dphi_psin_dsw, double *fw, double *dfw, double *fn, double *dfn, double *aw, double *daw, double *an, double *dan)
 
void TwophaseFFDarcyFCHet_Evaluate (const int nPoints, const int nSpace, const int pskModelFlag, const double *Kbar, const double rhon, const double rhow, const double *g, const double *x, const double *alpha, const double *bc_lambda, const double *bc_pd, const double *mvg_m, const double *omega, const double *omega_r, const double mun, const double muw, const double b, double *sw, double *psiw, double *mw, double *dmw_dsw, double *mm, double *dmm_dsw, double *phi_psic, double *dphi_psic_dsw, double *phi_psiw, double *dphi_psiw_dpsiw, double *fm, double *dfm_dsw, double *aw_psiw, double *daw_psiw_dsw, double *am_psiw, double *dam_psiw_dsw, double *am_psic, double *dam_psic_dsw)
 
void LinearElasticity_1D_Evaluate (const int nPoints, const double E, const double nu, const double *g, const double *u, double *uu_diff_ten, double *u_force)
 
void LinearElasticity_2D_Evaluate (const int nPoints, const double E, const double nu, const double *g, const double *u, const double *v, double *uu_diff_ten, double *uv_diff_ten, double *vu_diff_ten, double *vv_diff_ten, double *u_force, double *v_force)
 
void LinearElasticity_3D_Evaluate (const int nPoints, const double E, const double nu, const double *g, const double *u, const double *v, const double *w, double *uu_diff_ten, double *uv_diff_ten, double *uw_diff_ten, double *vu_diff_ten, double *vv_diff_ten, double *vw_diff_ten, double *wu_diff_ten, double *wv_diff_ten, double *ww_diff_ten, double *u_force, double *v_force, double *w_force)
 
void levelSetConservationCoefficientsEvaluate (int nPoints, int nSpace, double epsHeaviside, double epsDirac, double epsDiffusion, double *u_ls, double *H_vof, double *u, double *r, double *dr, double *a)
 
void unitCubeRotationEvaluate (const int nPoints, const int nSpace, const double *x, const double *u, double *m, double *dm, double *f, double *df)
 
void evaluateBuckleyLeverettLiuExample (int nPoints, int nSpace, const double *x, const double *u, double *m, double *dm, double *f, double *df, double *a)
 
void eikonalEquationEvaluate (int nPoints, int nSpace, double rhs, double *u, double *grad_u, double *m, double *dm, double *H, double *dH, double *r)
 
void burgersDiagonalVelHJEvaluate (const int nPoints, const int nSpace, const double self_a, const double *self_v, const double *u, const double *grad_u, double *m, double *dm, double *H, double *dH, double *a, double *phi, double *dphi)
 
void HJBurgersEvaluate (const int nPoints, const int nSpace, const double offset, const double *u, const double *gradu, double *m, double *dm, double *H, double *dH)
 
void ReynoldsAveragedNavierStokes_kEpsilon_2D_Evaluate (const int nPoints, const double rho, const double nu, const double c_mu, const double *k, const double *grad_k, const double *epsilon, const double *g, const double *p, const double *grad_p, const double *u, const double *v, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_uv_diff_ten, double *mom_vu_diff_ten, double *mom_u_source, double *mom_v_source, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p)
 
void ThreephaseNavierStokes_ST_LS_SO_3D_Evaluate (const int nPoints, const double boundaryPenaltyCoef, const double volumePenaltyCoef, const double eps_rho, const double eps_mu, const double sigma, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double rho_s, const double nu_s, const double *g, const double *phi, const double *n, const double *kappa, const double *phi_s, const double *n_s, const double *p, const double *grad_p, const double *u, const double *v, const double *w, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mom_w_acc, double *dmom_w_acc_w, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *dmass_adv_w, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *dmom_u_adv_w, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *dmom_v_adv_w, double *mom_w_adv, double *dmom_w_adv_u, double *dmom_w_adv_v, double *dmom_w_adv_w, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_w_diff_ten, double *mom_uv_diff_ten, double *mom_uw_diff_ten, double *mom_vu_diff_ten, double *mom_vw_diff_ten, double *mom_wu_diff_ten, double *mom_wv_diff_ten, double *mom_u_source, double *dmom_u_source_u, double *dmom_u_source_v, double *dmom_u_source_w, double *mom_v_source, double *dmom_v_source_u, double *dmom_v_source_v, double *dmom_v_source_w, double *mom_w_source, double *dmom_w_source_u, double *dmom_w_source_v, double *dmom_w_source_w, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p, double *mom_w_ham, double *dmom_w_ham_grad_p)
 

Detailed Description

Function Documentation

◆ burgersDiagonalVelEvaluate()

void burgersDiagonalVelEvaluate ( const int  nPoints,
const int  nSpace,
const double  self_a,
const double *  self_v,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  phi,
double *  dphi 
)

Definition at line 953 of file transportCoefficients.c.

◆ burgersDiagonalVelHJEvaluate()

void burgersDiagonalVelHJEvaluate ( const int  nPoints,
const int  nSpace,
const double  self_a,
const double *  self_v,
const double *  u,
const double *  grad_u,
double *  m,
double *  dm,
double *  H,
double *  dH,
double *  a,
double *  phi,
double *  dphi 
)

Definition at line 989 of file transportCoefficients.c.

◆ cLevelSetCoefficientsEvaluate()

void cLevelSetCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double *  v,
double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 1222 of file transportCoefficients.c.

◆ conservativeHeadRichardsBCBfromMVGHomEvaluate()

void conservativeHeadRichardsBCBfromMVGHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 6864 of file transportCoefficients.c.

◆ conservativeHeadRichardsBrooksCoreyBurdineHetEvaluate()

void conservativeHeadRichardsBrooksCoreyBurdineHetEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double *  lambda,
const double *  pd,
const double *  thetaR,
const double *  thetaS,
const double *  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 6648 of file transportCoefficients.c.

◆ conservativeHeadRichardsBrooksCoreyBurdineHomEvaluate()

void conservativeHeadRichardsBrooksCoreyBurdineHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double  beta,
const double *  gravity,
const double  lambda,
const double  pd,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 6706 of file transportCoefficients.c.

◆ conservativeHeadRichardsL2projBndMualemVanGenuchtenHomEvaluate()

void conservativeHeadRichardsL2projBndMualemVanGenuchtenHomEvaluate ( const int  nElements,
const int  nElementBoundaries_element,
const int  nPointsPerElementBoundary,
const int  nSpace,
const double  rho,
const double *  gravity,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  dV,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 5243 of file transportCoefficients.c.

◆ conservativeHeadRichardsL2projMualemVanGenuchtenHetEvaluate()

void conservativeHeadRichardsL2projMualemVanGenuchtenHetEvaluate ( const int  nSimplices,
const int  nPointsPerSimplex,
const int  nSpace,
const double  rho,
const double *  gravity,
const double *  alpha,
const double *  n,
const double *  thetaR,
const double *  thetaSR,
const double *  KWs,
double *  dV,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 5412 of file transportCoefficients.c.

◆ conservativeHeadRichardsL2projMualemVanGenuchtenHomEvaluate()

void conservativeHeadRichardsL2projMualemVanGenuchtenHomEvaluate ( const int  nSimplices,
const int  nPointsPerSimplex,
const int  nSpace,
const double  rho,
const double *  gravity,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  dV,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 5095 of file transportCoefficients.c.

◆ conservativeHeadRichardsMualemVanGenuchtenHetEvaluate()

void conservativeHeadRichardsMualemVanGenuchtenHetEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double *  alpha,
const double *  n,
const double *  thetaR,
const double *  thetaSR,
const double *  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 6337 of file transportCoefficients.c.

◆ conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2()

void conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2 ( const int  nSimplex,
const int  nPointsPerSimplex,
const int  nSpace,
const int *  materialTypes,
const double  rho,
const double  beta,
const double *  gravity,
const double *  alpha,
const double *  n,
const double *  thetaR,
const double *  thetaSR,
const double *  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da 
)

Definition at line 5990 of file transportCoefficients.c.

◆ conservativeHeadRichardsMualemVanGenuchtenHomEvaluate()

void conservativeHeadRichardsMualemVanGenuchtenHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double  beta,
const double *  gravity,
const double *  x,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Coefficients for the mass conservative head-based Richards' equation using Mualem-Van Genuchten.

Definition at line 5007 of file transportCoefficients.c.

◆ conservativeSatRichardsBrooksCoreyBurdineHomEvaluate()

void conservativeSatRichardsBrooksCoreyBurdineHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double  lambda,
const double  pd,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Definition at line 6798 of file transportCoefficients.c.

◆ conservativeSatRichardsMualemVanGenuchtenHomEvaluate()

void conservativeSatRichardsMualemVanGenuchtenHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double *  x,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Coefficients for the mass conservative saturation-based Richards' equation using Mualem-Van Genuchten.

Definition at line 6418 of file transportCoefficients.c.

◆ conservativeTotalHeadRichardsMualemVanGenuchtenHomEvaluate()

void conservativeTotalHeadRichardsMualemVanGenuchtenHomEvaluate ( const int  nPoints,
const int  nSpace,
const double  rho,
const double *  gravity,
const double *  x,
const double  alpha,
const double  n,
const double  m,
const double  thetaR,
const double  thetaSR,
const double  KWs,
double *  u,
double *  mass,
double *  dmass,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Coefficients for the mass conservative total head-based (

\[ h=\psi+z \]

) Richards' equation using Mualem-Van Genuchten.

Definition at line 5550 of file transportCoefficients.c.

◆ constantNormalVelocityLevelSetEvaluate()

void constantNormalVelocityLevelSetEvaluate ( const int  nPoints,
const int  nSpace,
double  b,
const double *  x,
const double *  u,
const double *  gradu,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  H,
double *  dH 
)

Definition at line 4776 of file transportCoefficients.c.

◆ constantVelocityLevelSetEvaluate()

void constantVelocityLevelSetEvaluate ( const int  nPoints,
const int  nSpace,
const double *  b,
const double *  x,
const double *  u,
const double *  gradu,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  H,
double *  dH 
)

Definition at line 4745 of file transportCoefficients.c.

◆ darcySharpInterfaceFlowEvaluate()

void darcySharpInterfaceFlowEvaluate ( int  nPoints,
int  nSpace,
double  Km,
double  rhoM,
double  Kp,
double  rhoP,
double  eps,
double *  gravity_u,
double *  u,
double *  gradu,
double *  u_levelSet,
double *  phi_pot,
double *  a,
double *  f,
double *  r,
double *  m,
double *  dphi_pot,
double *  da,
double *  df,
double *  dr,
double *  dm 
)

Definition at line 1698 of file transportCoefficients.c.

◆ darcySharpInterfaceFlowImEvaluate()

void darcySharpInterfaceFlowImEvaluate ( int  nPoints,
int  nSpace,
double  Km,
double  rhoM,
double  Kp,
double  rhoP,
double  eps,
double *  gravity_u,
double *  u,
double *  gradu,
double *  u_levelSet,
double *  phi_pot,
double *  a,
double *  f,
double *  r,
double *  m,
double *  dphi_pot,
double *  da,
double *  df,
double *  dr,
double *  dm 
)

Definition at line 1750 of file transportCoefficients.c.

◆ disRotatingPulseVelEvaluate()

void disRotatingPulseVelEvaluate ( const int  nPoints,
const int  nSpace,
const double  self_a,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Definition at line 859 of file transportCoefficients.c.

◆ disVelEvaluate()

void disVelEvaluate ( const int  nPoints,
const int  nSpace,
const double  self_a,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Definition at line 908 of file transportCoefficients.c.

◆ eikonalEquationEvaluate()

void eikonalEquationEvaluate ( int  nPoints,
int  nSpace,
double  rhs,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  H,
double *  dH,
double *  r 
)

Definition at line 1354 of file transportCoefficients.c.

◆ evaluateBuckleyLeverettLiuExample()

void evaluateBuckleyLeverettLiuExample ( int  nPoints,
int  nSpace,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a 
)

Definition at line 8455 of file transportCoefficients.c.

◆ FractionalFlowPhaseForm_potentialEvaluate()

void FractionalFlowPhaseForm_potentialEvaluate ( const int  nPoints,
const int  nSpace,
const int  nc,
const int  pskModelFlag,
const double  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double  g_norm,
const double  alpha,
const double  bc_lambda,
const double  bc_pd,
const double  mvg_n,
const double  mvg_m,
const double  omega,
const double  mun,
const double  muw,
const double  sw_min,
const double  sw_max,
const double  M,
const double  R,
const double  Temp,
const double  p_o,
const double  b,
double *  u,
double *  m,
double *  dm,
double *  phi,
double *  dphi,
double *  f,
double *  df,
double *  a,
double *  da,
double *  s_w,
double *  grad_psic 
)

◆ FractionalFlowPhaseForm_potentialHetEvaluate()

void FractionalFlowPhaseForm_potentialHetEvaluate ( const int  nPoints,
const int  nSpace,
const int  nc,
const int  pskModelFlag,
const double *  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  alpha,
const double *  bc_lambda,
const double *  bc_pd,
const double *  mvg_m,
const double *  thetaS,
const double *  thetaR,
const double  mun,
const double  muw,
const double  b,
double *  u,
double *  m,
double *  dm,
double *  phi,
double *  dphi,
double *  f,
double *  df,
double *  a,
double *  da,
double *  s_w,
double *  grad_psic 
)

◆ FractionalFlowPhaseForm_saturationEvaluate()

void FractionalFlowPhaseForm_saturationEvaluate ( const int  nPoints,
const int  nSpace,
const int  nc,
const int  pskModelFlag,
const double  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double  g_norm,
const double  alpha,
const double  bc_lambda,
const double  bc_pd,
const double  mvg_n,
const double  mvg_m,
const double  omega,
const double  mun,
const double  muw,
const double  sw_min,
const double  sw_max,
const double  M,
const double  R,
const double  Temp,
const double  p_o,
const double  b,
double *  u,
double *  m,
double *  dm,
double *  phi,
double *  dphi,
double *  f,
double *  df,
double *  a,
double *  da,
double *  q_t,
double *  psiw 
)

◆ FractionalFlowPhaseForm_saturationHetEvaluate()

void FractionalFlowPhaseForm_saturationHetEvaluate ( const int  nPoints,
const int  nSpace,
const int  nc,
const int  pskModelFlag,
const double *  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  alpha,
const double *  bc_lambda,
const double *  bc_pd,
const double *  mvg_m,
const double *  thetaS,
const double *  thetaR,
const double  mun,
const double  muw,
const double  b,
double *  u,
double *  m,
double *  dm,
double *  phi,
double *  dphi,
double *  f,
double *  df,
double *  a,
double *  da,
double *  q_t 
)

◆ groundwaterTransportCoefficientsEvaluate()

void groundwaterTransportCoefficientsEvaluate ( const int  nPoints,
const int  nSpace,
const double  omega,
const double  d,
const double  alpha_L,
const double  alpha_T,
const double *  v,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a 
)

Definition at line 140 of file transportCoefficients.c.

◆ HJBurgersEvaluate()

void HJBurgersEvaluate ( const int  nPoints,
const int  nSpace,
const double  offset,
const double *  u,
const double *  gradu,
double *  m,
double *  dm,
double *  H,
double *  dH 
)

Definition at line 4885 of file transportCoefficients.c.

◆ kEpsilon_2D_Evaluate()

void kEpsilon_2D_Evaluate ( int  nPoints,
int  nSpace,
double  sigma_k,
double  sigma_e,
double  c_1,
double  c_2,
double  c_mu,
double  c_e,
double  nu,
double *  velocity,
double *  gradu,
double *  gradv,
double *  k,
double *  epsilon,
double *  m_k,
double *  dm_k,
double *  m_e,
double *  dm_e,
double *  phi_k,
double *  dphi_k,
double *  phi_e,
double *  dphi_e,
double *  f_k,
double *  df_k,
double *  f_e,
double *  df_e,
double *  a_k,
double *  da_k_dk,
double *  da_k_de,
double *  a_e,
double *  da_e_dk,
double *  da_e_de,
double *  r_k,
double *  dr_k_dk,
double *  dr_k_de,
double *  r_e,
double *  dr_e_dk,
double *  dr_e_de 
)

Definition at line 9975 of file transportCoefficients.c.

◆ l2project2Tensor()

void l2project2Tensor ( const int  nSimplices,
const int  nPointsPerSimplex,
const int  nSpace,
double *  dV,
double *  r 
)

Definition at line 5705 of file transportCoefficients.c.

◆ l2projectScalar()

void l2projectScalar ( const int  nSimplices,
const int  nPointsPerSimplex,
double *  dV,
double *  r 
)

Definition at line 5651 of file transportCoefficients.c.

◆ l2projectVector()

void l2projectVector ( const int  nSimplices,
const int  nPointsPerSimplex,
const int  nSpace,
double *  dV,
double *  r 
)

Definition at line 5676 of file transportCoefficients.c.

◆ levelSetConservationCoefficientsEvaluate()

void levelSetConservationCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double  epsHeaviside,
double  epsDirac,
double  epsDiffusion,
double *  u_ls,
double *  H_vof,
double *  u,
double *  r,
double *  dr,
double *  a 
)

Definition at line 8393 of file transportCoefficients.c.

◆ levelSetCurvatureCoefficientsEvaluate()

void levelSetCurvatureCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double *  grad_phi,
double *  u,
double *  f,
double *  r,
double *  dr 
)

Definition at line 1270 of file transportCoefficients.c.

◆ linearADR_ConstantCoefficientsEvaluate()

void linearADR_ConstantCoefficientsEvaluate ( const int  nPoints,
const int  nSpace,
const double  M,
const double *  A,
const double *  B,
const double  C,
const double  t,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  r,
double *  dr 
)

Definition at line 101 of file transportCoefficients.c.

◆ LinearElasticity_1D_Evaluate()

void LinearElasticity_1D_Evaluate ( const int  nPoints,
const double  E,
const double  nu,
const double *  g,
const double *  u,
double *  uu_diff_ten,
double *  u_force 
)

Definition at line 8124 of file transportCoefficients.c.

◆ LinearElasticity_2D_Evaluate()

void LinearElasticity_2D_Evaluate ( const int  nPoints,
const double  E,
const double  nu,
const double *  g,
const double *  u,
const double *  v,
double *  uu_diff_ten,
double *  uv_diff_ten,
double *  vu_diff_ten,
double *  vv_diff_ten,
double *  u_force,
double *  v_force 
)

Definition at line 8143 of file transportCoefficients.c.

◆ LinearElasticity_3D_Evaluate()

void LinearElasticity_3D_Evaluate ( const int  nPoints,
const double  E,
const double  nu,
const double *  g,
const double *  u,
const double *  v,
const double *  w,
double *  uu_diff_ten,
double *  uv_diff_ten,
double *  uw_diff_ten,
double *  vu_diff_ten,
double *  vv_diff_ten,
double *  vw_diff_ten,
double *  wu_diff_ten,
double *  wv_diff_ten,
double *  ww_diff_ten,
double *  u_force,
double *  v_force,
double *  w_force 
)

Definition at line 8186 of file transportCoefficients.c.

◆ NavierStokes_2D_Evaluate()

void NavierStokes_2D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 1850 of file transportCoefficients.c.

◆ NavierStokes_3D_Evaluate()

void NavierStokes_3D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 1938 of file transportCoefficients.c.

◆ ncLevelSetCoefficientsEvaluate()

void ncLevelSetCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double *  v,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  H,
double *  dH 
)

Definition at line 1198 of file transportCoefficients.c.

◆ nonlinearADR_pqrstDualEvaluate()

void nonlinearADR_pqrstDualEvaluate ( const int  nPoints,
const int  nSpace,
const double  M,
const double *  A,
const double *  B,
const double  C,
const double  p1,
const double  q1,
const double  r1,
const double  s1,
const double  t1,
const double  p2,
const double  q2,
const double  r2,
const double  s2,
const double  t2,
const double  t,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi,
double *  r,
double *  dr 
)

Definition at line 664 of file transportCoefficients.c.

◆ nonlinearADR_pqrstEvaluate()

void nonlinearADR_pqrstEvaluate ( const int  nPoints,
const int  nSpace,
const double  M,
const double *  A,
const double *  B,
const double  C,
const double  p_pow,
const double  q_pow,
const double  r_pow,
const double  s_pow,
const double  t_pow,
const double  t,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi,
double *  r,
double *  dr 
)

Definition at line 597 of file transportCoefficients.c.

◆ redistanceLevelSetCoefficientsEvaluate()

void redistanceLevelSetCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double  eps,
double *  u_levelSet,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  H,
double *  dH,
double *  r 
)

Definition at line 1384 of file transportCoefficients.c.

◆ redistanceLevelSetSandFCoefficientsEvaluate()

void redistanceLevelSetSandFCoefficientsEvaluate ( int  nSimplex,
int  nPointsPerSimplex,
int  nSpace,
double  eps,
double *  u_levelSet,
double *  dV,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  H,
double *  dH,
double *  r 
)

Definition at line 1512 of file transportCoefficients.c.

◆ ReynoldsAveragedNavierStokes_kEpsilon_2D_Evaluate()

void ReynoldsAveragedNavierStokes_kEpsilon_2D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double  c_mu,
const double *  k,
const double *  grad_k,
const double *  epsilon,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

◆ rotatingPulseVelEvaluate()

void rotatingPulseVelEvaluate ( const int  nPoints,
const int  nSpace,
const double  self_a,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi 
)

Definition at line 818 of file transportCoefficients.c.

◆ smoothedDirac()

double smoothedDirac ( double  eps,
double  phi 
)

Definition at line 14199 of file numericalFlux.c.

◆ smoothedHeaviside()

double smoothedHeaviside ( double  eps,
double  phi 
)

Definition at line 14167 of file numericalFlux.c.

◆ smoothedHeaviside_integral()

double smoothedHeaviside_integral ( double  eps,
double  phi 
)

Definition at line 14181 of file numericalFlux.c.

◆ Stokes_2D_Evaluate()

void Stokes_2D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 2079 of file transportCoefficients.c.

◆ Stokes_3D_Evaluate()

void Stokes_3D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 2206 of file transportCoefficients.c.

◆ StokesP_2D_Evaluate()

void StokesP_2D_Evaluate ( const int  nPoints,
const double  rho,
const double  nu,
const double *  g,
const double *  p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_p,
double *  mom_v_adv,
double *  dmom_v_adv_p,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source 
)

Definition at line 2143 of file transportCoefficients.c.

◆ ThreephaseNavierStokes_ST_LS_SO_3D_Evaluate()

void ThreephaseNavierStokes_ST_LS_SO_3D_Evaluate ( const int  nPoints,
const double  boundaryPenaltyCoef,
const double  volumePenaltyCoef,
const double  eps_rho,
const double  eps_mu,
const double  sigma,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double  rho_s,
const double  nu_s,
const double *  g,
const double *  phi,
const double *  n,
const double *  kappa,
const double *  phi_s,
const double *  n_s,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_uw_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_vw_diff_ten,
double *  mom_wu_diff_ten,
double *  mom_wv_diff_ten,
double *  mom_u_source,
double *  dmom_u_source_u,
double *  dmom_u_source_v,
double *  dmom_u_source_w,
double *  mom_v_source,
double *  dmom_v_source_u,
double *  dmom_v_source_v,
double *  dmom_v_source_w,
double *  mom_w_source,
double *  dmom_w_source_u,
double *  dmom_w_source_v,
double *  dmom_w_source_w,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 3749 of file transportCoefficients.c.

◆ TwophaseDarcyFC_Evaluate()

void TwophaseDarcyFC_Evaluate ( const int  nPoints,
const int  nSpace,
const int  pskModelFlag,
const double  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  x,
const double  alpha,
const double  bc_lambda,
const double  bc_pd,
const double  mvg_n,
const double  mvg_m,
const double  omega,
const double  omega_r,
const double  mun,
const double  muw,
const double  b,
double *  sw,
double *  psiw,
double *  mw,
double *  dmw,
double *  mn,
double *  dmn,
double *  phi_psiw,
double *  dphi_psiw_dpsiw,
double *  phi_psin,
double *  dphi_psin_dpsiw,
double *  dphi_psin_dsw,
double *  fw,
double *  dfw,
double *  fn,
double *  dfn,
double *  aw,
double *  daw,
double *  an,
double *  dan 
)

◆ TwophaseDarcyFCHet_Evaluate()

void TwophaseDarcyFCHet_Evaluate ( const int  nPoints,
const int  nSpace,
const int  pskModelFlag,
const double *  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  x,
const double *  alpha,
const double *  bc_lambda,
const double *  bc_pd,
const double *  mvg_m,
const double *  omega,
const double *  omega_r,
const double  mun,
const double  muw,
const double  b,
double *  sw,
double *  psiw,
double *  mw,
double *  dmw,
double *  mn,
double *  dmn,
double *  phi_psiw,
double *  dphi_psiw_dpsiw,
double *  phi_psin,
double *  dphi_psin_dpsiw,
double *  dphi_psin_dsw,
double *  fw,
double *  dfw,
double *  fn,
double *  dfn,
double *  aw,
double *  daw,
double *  an,
double *  dan 
)

◆ TwophaseFFDarcyFC_Evaluate()

void TwophaseFFDarcyFC_Evaluate ( const int  nPoints,
const int  nSpace,
const int  pskModelFlag,
const double  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  x,
const double  alpha,
const double  bc_lambda,
const double  bc_pd,
const double  mvg_n,
const double  mvg_m,
const double  omega,
const double  omega_r,
const double  mun,
const double  muw,
const double  b,
double *  sw,
double *  psiw,
double *  mw,
double *  dmw_dsw,
double *  mm,
double *  dmm_dsw,
double *  phi_psic,
double *  dphi_psic_dsw,
double *  phi_psiw,
double *  dphi_psiw_dpsiw,
double *  fm,
double *  dfm_dsw,
double *  aw_psiw,
double *  daw_psiw_dsw,
double *  am_psiw,
double *  dam_psiw_dsw,
double *  am_psic,
double *  dam_psic_dsw 
)

◆ TwophaseFFDarcyFCHet_Evaluate()

void TwophaseFFDarcyFCHet_Evaluate ( const int  nPoints,
const int  nSpace,
const int  pskModelFlag,
const double *  Kbar,
const double  rhon,
const double  rhow,
const double *  g,
const double *  x,
const double *  alpha,
const double *  bc_lambda,
const double *  bc_pd,
const double *  mvg_m,
const double *  omega,
const double *  omega_r,
const double  mun,
const double  muw,
const double  b,
double *  sw,
double *  psiw,
double *  mw,
double *  dmw_dsw,
double *  mm,
double *  dmm_dsw,
double *  phi_psic,
double *  dphi_psic_dsw,
double *  phi_psiw,
double *  dphi_psiw_dpsiw,
double *  fm,
double *  dfm_dsw,
double *  aw_psiw,
double *  daw_psiw_dsw,
double *  am_psiw,
double *  dam_psiw_dsw,
double *  am_psic,
double *  dam_psic_dsw 
)

◆ twophaseLevelSetCoefficientsEvaluate()

void twophaseLevelSetCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double *  B,
double  t,
double *  x,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  h,
double *  dh,
double *  rh 
)

Definition at line 1147 of file transportCoefficients.c.

◆ twophaseLevelSetCoefficientsEvaluateCI()

void twophaseLevelSetCoefficientsEvaluateCI ( int  nPoints,
int  nSpace,
double *  B,
double  t,
double *  x,
double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi,
double *  r,
double *  dr 
)

Definition at line 1173 of file transportCoefficients.c.

◆ twophaseLevelSetCoefficientsUpdateVelocity()

void twophaseLevelSetCoefficientsUpdateVelocity ( int  nPoints,
int  nSpace,
double  v_scale,
double *  vIn,
double *  vOut 
)

Definition at line 1135 of file transportCoefficients.c.

◆ TwophaseNavierStokes_LS_SO_2D_Evaluate()

void TwophaseNavierStokes_LS_SO_2D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 2383 of file transportCoefficients.c.

◆ TwophaseNavierStokes_LS_SO_3D_Evaluate()

void TwophaseNavierStokes_LS_SO_3D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 3981 of file transportCoefficients.c.

◆ TwophaseNavierStokes_ST_LS_SO_2D_Evaluate()

void TwophaseNavierStokes_ST_LS_SO_2D_Evaluate ( const int  nPoints,
const double  eps_rho,
const double  eps_mu,
const double  sigma,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  n,
const double *  kappa,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 2481 of file transportCoefficients.c.

◆ TwophaseNavierStokes_ST_LS_SO_3D_Evaluate()

void TwophaseNavierStokes_ST_LS_SO_3D_Evaluate ( const int  nPoints,
const double  eps_rho,
const double  eps_mu,
const double  sigma,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  n,
const double *  kappa,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_uw_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_vw_diff_ten,
double *  mom_wu_diff_ten,
double *  mom_wv_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 3279 of file transportCoefficients.c.

◆ TwophaseNavierStokes_VOF_SO_2D_Evaluate()

void TwophaseNavierStokes_VOF_SO_2D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  vof,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 4300 of file transportCoefficients.c.

◆ TwophaseNavierStokes_VOF_SO_3D_Evaluate()

void TwophaseNavierStokes_VOF_SO_3D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  vof,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 4398 of file transportCoefficients.c.

◆ twophasePotentialFlowEvaluate()

void twophasePotentialFlowEvaluate ( int  nPoints,
int  nSpace,
double *  M,
double *  A,
double *  B,
double *  Bcon,
double *  C,
double  t,
double *  x,
double *  u,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  a,
double *  da,
double *  phi,
double *  dphi,
double *  r,
double *  dr 
)

Definition at line 1027 of file transportCoefficients.c.

◆ twophasePotentialFlowUpdateFreeSurface()

void twophasePotentialFlowUpdateFreeSurface ( int  nPoints,
int  nSpace,
double  eps,
double *  u_levelSet,
double  M1,
double  M2,
double *  M,
double *  A1,
double *  A2,
double *  A,
double *  B1,
double *  B2,
double *  B,
double *  Bcon1,
double *  Bcon2,
double *  Bcon,
double  C1,
double  C2,
double *  C 
)

Definition at line 1073 of file transportCoefficients.c.

◆ twophaseSignedDistanceCoefficientsEvaluate()

void twophaseSignedDistanceCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double *  S,
double *  u,
double *  grad_u,
double *  m,
double *  dm,
double *  h,
double *  dh,
double *  rh 
)

Definition at line 1325 of file transportCoefficients.c.

◆ twophaseSignedDistanceCoefficientsUpdateSignFunction()

void twophaseSignedDistanceCoefficientsUpdateSignFunction ( int  nPoints,
double  eps,
double *  u_levelSet,
double *  S 
)

Definition at line 1298 of file transportCoefficients.c.

◆ TwophaseStokes_LS_SO_2D_Evaluate()

void TwophaseStokes_LS_SO_2D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 4129 of file transportCoefficients.c.

◆ TwophaseStokes_LS_SO_3D_Evaluate()

void TwophaseStokes_LS_SO_3D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  phi,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 4203 of file transportCoefficients.c.

◆ TwophaseStokes_VOF_SO_2D_Evaluate()

void TwophaseStokes_VOF_SO_2D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  vof,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 4546 of file transportCoefficients.c.

◆ TwophaseStokes_VOF_SO_3D_Evaluate()

void TwophaseStokes_VOF_SO_3D_Evaluate ( const int  nPoints,
const double  eps,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  g,
const double *  vof,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 4620 of file transportCoefficients.c.

◆ unitCubeRotationEvaluate()

void unitCubeRotationEvaluate ( const int  nPoints,
const int  nSpace,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 791 of file transportCoefficients.c.

◆ unitSquareRotationEvaluate()

void unitSquareRotationEvaluate ( const int  nPoints,
const int  nSpace,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 767 of file transportCoefficients.c.

◆ unitSquareRotationLevelSetEvaluate()

void unitSquareRotationLevelSetEvaluate ( const int  nPoints,
const int  nSpace,
double  t,
const double *  x,
const double *  u,
const double *  gradu,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  H,
double *  dH 
)

Definition at line 4848 of file transportCoefficients.c.

◆ unitSquareVortexEvaluate()

void unitSquareVortexEvaluate ( const int  nPoints,
const int  nSpace,
double  t,
const double *  x,
const double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 4717 of file transportCoefficients.c.

◆ unitSquareVortexLevelSetEvaluate()

void unitSquareVortexLevelSetEvaluate ( const int  nPoints,
const int  nSpace,
double  t,
const double *  x,
const double *  u,
const double *  gradu,
double *  m,
double *  dm,
double *  f,
double *  df,
double *  H,
double *  dH 
)

Definition at line 4812 of file transportCoefficients.c.

◆ VOFCoefficientsEvaluate()

void VOFCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double  eps,
double *  v,
double *  phi,
double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 1244 of file transportCoefficients.c.

◆ VolumeAveragedNavierStokesFullDevStress_2D_Evaluate()

void VolumeAveragedNavierStokesFullDevStress_2D_Evaluate ( const int  nPoints,
const double  rho,
const double  mu,
const double *  meanGrainSize,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  porosity,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  dmom_u_source_u,
double *  dmom_u_source_v,
double *  dmom_v_source_u,
double *  dmom_v_source_v,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 8506 of file transportCoefficients.c.

◆ VolumeAveragedNavierStokesFullDevStress_3D_Evaluate()

void VolumeAveragedNavierStokesFullDevStress_3D_Evaluate ( const int  nPoints,
const double  rho,
const double  mu,
const double *  meanGrainSize,
const double *  g,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  w,
const double *  porosity,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mom_w_acc,
double *  dmom_w_acc_w,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  dmass_adv_w,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  dmom_u_adv_w,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  dmom_v_adv_w,
double *  mom_w_adv,
double *  dmom_w_adv_u,
double *  dmom_w_adv_v,
double *  dmom_w_adv_w,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_w_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_uw_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_vw_diff_ten,
double *  mom_wu_diff_ten,
double *  mom_wv_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  mom_w_source,
double *  dmom_u_source_u,
double *  dmom_u_source_v,
double *  dmom_u_source_w,
double *  dmom_v_source_u,
double *  dmom_v_source_v,
double *  dmom_v_source_w,
double *  dmom_w_source_u,
double *  dmom_w_source_v,
double *  dmom_w_source_w,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p,
double *  mom_w_ham,
double *  dmom_w_ham_grad_p 
)

Definition at line 8630 of file transportCoefficients.c.

◆ VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate()

void VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate ( const int  nPoints,
const int  killNonlinearDrag,
const double  eps_rho,
const double  eps_mu,
const double  sigma,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double *  meanGrainSize,
const double *  g,
const double *  phi,
const double *  n,
const double *  kappa,
const double *  p,
const double *  grad_p,
const double *  u,
const double *  v,
const double *  porosity,
double *  mom_u_acc,
double *  dmom_u_acc_u,
double *  mom_v_acc,
double *  dmom_v_acc_v,
double *  mass_adv,
double *  dmass_adv_u,
double *  dmass_adv_v,
double *  mom_u_adv,
double *  dmom_u_adv_u,
double *  dmom_u_adv_v,
double *  mom_v_adv,
double *  dmom_v_adv_u,
double *  dmom_v_adv_v,
double *  mom_u_diff_ten,
double *  mom_v_diff_ten,
double *  mom_uv_diff_ten,
double *  mom_vu_diff_ten,
double *  mom_u_source,
double *  mom_v_source,
double *  dmom_u_source_u,
double *  dmom_u_source_v,
double *  dmom_v_source_u,
double *  dmom_v_source_v,
double *  mom_u_ham,
double *  dmom_u_ham_grad_p,
double *  mom_v_ham,
double *  dmom_v_ham_grad_p 
)

Definition at line 8832 of file transportCoefficients.c.

◆ VolumeAveragedVOFCoefficientsEvaluate()

void VolumeAveragedVOFCoefficientsEvaluate ( int  nPoints,
int  nSpace,
double  eps,
double *  v,
double *  phi,
double *  porosity,
double *  u,
double *  m,
double *  dm,
double *  f,
double *  df 
)

Definition at line 9890 of file transportCoefficients.c.