66 template <
typename BC,
typename Type_Double>
67 inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const BC&,
int, Type_Double& )
const { }
70 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Dirichlet_entree_fluide&,
const int, Type_Double& )
const;
71 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Scalaire_impose_paroi&,
const int, Type_Double& )
const;
72 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Dirichlet_loi_paroi&,
const int, Type_Double& )
const;
73 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Neumann_paroi&,
const int, Type_Double& )
const;
74 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Periodique&,
const int, Type_Double& )
const;
75 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Echange_global_impose&,
const int, Type_Double& )
const;
76 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const DoubleTab&,
const int,
const Dirichlet_paroi_fixe&,
const int, Type_Double& )
const;
77 template <
typename Type_Double>
inline void flux_face(
const DoubleTab&,
const int,
const int,
const int,
const Echange_externe_impose&,
const int, Type_Double& )
const;
78 template <
typename Type_Double>
inline void flux_faces_interne(
const DoubleTab&,
const int, Type_Double& )
const;
84 template <
typename BC,
typename Type_Double>
85 inline void coeffs_face(
const int,
const int,
const BC&, Type_Double&, Type_Double& )
const { }
91 template <
typename Type_Double>
inline void coeffs_face(
const int,
const int,
const Periodique&, Type_Double&, Type_Double& )
const;
94 template <
typename Type_Double>
inline void coeffs_face(
const DoubleTab&,
const int,
const int,
const int,
const int,
const Echange_externe_impose&, Type_Double&, Type_Double& )
const;
95 template <
typename Type_Double>
inline void coeffs_faces_interne(
const int, Type_Double&, Type_Double& )
const;
98 template <
typename BC,
typename Type_Double>
99 inline void secmem_face(
const int,
const BC&,
const int, Type_Double& )
const { }
102 template <
typename Type_Double>
inline void secmem_face(
const int,
const Neumann_paroi&,
const int, Type_Double& )
const;
108 inline double Dist_face_elem0(
const int face,
const int n0)
const {
return DERIVED_T::IS_AXI ? le_dom->dist_face_elem0_axi(face,n0) : le_dom->dist_face_elem0(face,n0); }
109 inline double Dist_face_elem1(
const int face,
const int n1)
const {
return DERIVED_T::IS_AXI ? le_dom->dist_face_elem1_axi(face,n1) : le_dom->dist_face_elem1(face,n1); }
110 inline double Dist_norm_bord (
const int face)
const
112 double val = DERIVED_T::IS_AXI ? le_dom->dist_norm_bord_axi(face) : le_dom->dist_norm_bord(face);
113 return DERIVED_T::IS_MULTD ? val : 2*val;
116 inline double Dist_norm_bord_externe_VEC(
const int boundary_index,
const int global_face,
const int local_face)
const
118 if (DERIVED_T::IS_DEQUIV)
return equivalent_distance(boundary_index,local_face);
119 else return DERIVED_T::IS_AXI ? le_dom->dist_norm_bord_axi(global_face) : le_dom->dist_norm_bord(global_face);
122 inline double Dist_norm_bord_externe_(
const int global_face)
const
124 assert (!DERIVED_T::IS_DEQUIV);
125 return DERIVED_T::IS_AXI ? le_dom->dist_norm_bord_axi(global_face) : le_dom->dist_norm_bord(global_face);
128 inline void not_implemented_k_eps(
const char * nom_funct)
const
130 std::cerr <<
"Error in : " << nom_funct <<
" ! This function is not yet implemented for Op_Diff_K_Eps_QC !" << std::endl;
135 inline int ind_Fluctu_Term()
const {
return static_cast<const DERIVED_T *
>(
this)->get_ind_Fluctu_Term(); }
136 inline double nu_1(
const int i,
int compo = 0)
const {
return static_cast<const DERIVED_T *
>(
this)->nu_1_impl(i,compo); }
137 inline double nu_2(
const int i,
int compo = 0)
const {
return static_cast<const DERIVED_T *
>(
this)->nu_2_impl(i,compo); }
138 inline double compute_heq(
const double d0,
const int i0,
const double d1,
const int i1,
int compo = 0)
const {
return static_cast<const DERIVED_T *
>(
this)->compute_heq_impl(d0,i0,d1,i1,compo); }
139 inline double equivalent_distance (
const int boundary_index,
const int local_face)
const {
return static_cast<const DERIVED_T *
>(
this)->get_equivalent_distance(boundary_index,local_face); }
140 inline double dv_mvol(
const int i)
const {
return static_cast<const DERIVED_T *
>(
this)->get_dv_mvol(i); }