89 template <
class type_foam_matrix,
class type_A,
class type_B>
90 static void fvMatrix2Eigen(fvMatrix<type_foam_matrix> foam_matrix, type_A& A,
97 template<
typename SparseMatType,
typename VecType>
98 static void fvMat2Eigen(Foam::fvMatrix<scalar> foam_matrix,
102 template<
typename SparseMatType,
typename VecType>
103 static void fvMat2Eigen(Foam::fvMatrix<vector> foam_matrix,
123 template <
class type_foam_matrix,
class type_A>
141 template <
class type_foam_matrix,
class type_B>
160 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
162 PtrList<GeometricField<Type, PatchField, GeoMesh >>& fields,
175 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
177 GeometricField<Type, PatchField, GeoMesh>& field);
190 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
192 GeometricField<Type, PatchField, GeoMesh>& field);
205 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
207 GeometricField<Type, PatchField, GeoMesh>&
208 field,
int BC_index);
220 template<
class Type,
class GeoMesh>
222 DimensionedField<Type, GeoMesh>& field);
248 template<
template<
class>
class PatchField,
class GeoMesh>
250 GeometricField<scalar, PatchField, GeoMesh>& field);
263 template<
template<
class>
class PatchField,
class GeoMesh>
265 GeometricField<vector, PatchField, GeoMesh>& field);
278 template<
template<
class>
class PatchField,
class GeoMesh>
280 GeometricField<tensor, PatchField, GeoMesh>& field);
295 template<
template<
class>
class PatchField,
class GeoMesh>
297 PtrList<GeometricField<scalar, PatchField, GeoMesh >>& fields,
312 template<
template<
class>
class PatchField,
class GeoMesh >
314 PtrList<GeometricField<vector, PatchField, GeoMesh >>& fields,
329 template<
template<
class>
class PatchField,
class GeoMesh >
331 PtrList<GeometricField<tensor, PatchField, GeoMesh >>& fields,
346 template<
template<
class>
class PatchField,
class GeoMesh >
347 static GeometricField<scalar, PatchField, GeoMesh>
Eigen2field(
348 GeometricField<scalar, PatchField, GeoMesh>& field,
349 Eigen::VectorXd& eigen_vector,
bool correctBC =
true);
363 template<
template<
class>
class PatchField,
class GeoMesh>
364 static GeometricField<vector, PatchField, GeoMesh>
Eigen2field(
365 GeometricField<vector, PatchField, GeoMesh>& field,
366 Eigen::VectorXd& eigen_vector,
bool correctBC =
true);
381 template<
template<
class>
class PatchField,
class GeoMesh>
382 static GeometricField<scalar, PatchField, GeoMesh>
Eigen2field(
383 GeometricField<scalar, PatchField, GeoMesh>& field,
384 Eigen::VectorXd& eigen_vector, List<Eigen::VectorXd>& eigen_vector_boundary);
399 template<
template<
class>
class PatchField,
class GeoMesh>
400 static GeometricField<vector, PatchField, GeoMesh>
Eigen2field(
401 GeometricField<vector, PatchField, GeoMesh>& field,
402 Eigen::VectorXd& eigen_vector, List<Eigen::VectorXd>& eigen_vector_boundary);
417 template<
template<
class>
class PatchField,
class GeoMesh>
418 static GeometricField<tensor, PatchField, GeoMesh>
Eigen2field(
419 GeometricField<tensor, PatchField, GeoMesh>& field,
420 Eigen::VectorXd& eigen_vector,
bool correctBC =
true);
433 template <
class Type>
435 Field<Type>& field, Eigen::MatrixXd& matrix,
bool correctBC =
true);
450 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
452 fvMatrix<Type>& matrix,
453 PtrList<GeometricField<Type, PatchField, GeoMesh >>& modes, label Nmodes);
482 template<
class Type,
template<
class>
class PatchField,
class GeoMesh >
484 GeometricField<Type, PatchField, GeoMesh>& field,
485 PtrList<GeometricField<Type, PatchField, GeoMesh >>& modes,
500 template<
class Type,
template<
class>
class PatchField,
class GeoMesh >
502 PtrList<GeometricField<Type, PatchField, GeoMesh >>& modes, label Nmodes);
517 static std::tuple<List<Eigen::SparseMatrix<double >>, List<Eigen::VectorXd >>
529 template <
class type_matrix>
530 static Eigen::Matrix<type_matrix, Eigen::Dynamic, Eigen::Dynamic>
542 template <
class type_matrix>
544 Eigen::Matrix<type_matrix, Eigen::Dynamic, Eigen::Dynamic> matrix );
555 template <
class type_list>