|
| template<typename Type> |
| void | exportFvMatrix (fvMatrix< Type > &Matrix, word folder, word MatrixName) |
| | Export an Fv Matrix to folder together with its source term.
|
| template<typename T, int dim> |
| void | exportMatrix (Eigen::Matrix< T, -1, dim > &matrix, word Name, word type="python", word folder="./Matrices") |
| | Export the reduced matrices in numpy (type=python), matlab (type=matlab) and txt (type=eigen) format The function is implemented for a second order matrix.
|
|
template void | exportMatrix (Eigen::Matrix< double, -1, -1 > &matrix, word Name, word type, word folder) |
|
template void | exportMatrix (Eigen::Matrix< int, -1, -1 > &matrix, word Name, word type, word folder) |
|
template void | exportMatrix (Eigen::Matrix< float, -1, -1 > &matrix, word Name, word type, word folder) |
|
template void | exportMatrix (Eigen::Matrix< double, -1, 1 > &matrix, word Name, word type, word folder) |
|
template void | exportMatrix (Eigen::Matrix< int, -1, 1 > &matrix, word Name, word type, word folder) |
|
template void | exportMatrix (Eigen::Matrix< float, -1, 1 > &matrix, word Name, word type, word folder) |
| void | exportMatrix (List< Eigen::MatrixXd > &matrix, word Name, word type="python", word folder="./Matrices") |
| | Export the reduced matrices in numpy (type=python), matlab (type=matlab) and txt (type=eigen) format The function is implemented for a third order matrix The eigen matrix is stored as a set of two dimensional matrices where each matrix is in a different file.
|
| void | exportVector (Eigen::VectorXd &vector, word Name, word type, word folder) |
| template<typename T> |
| void | exportTensor (Eigen::Tensor< T, 3 > tensor, word Name, word type="python", word folder="./Matrices") |
| | Export the reduced tensor in numpy (tipo=python), matlab (tipo=matlab) and txt (tipo=eigen) format.
|
|
template void | exportTensor (Eigen::Tensor< double, 3 > tensor, word Name, word type, word folder) |
|
template void | exportTensor (Eigen::Tensor< int, 3 > tensor, word Name, word type, word folder) |
|
template void | exportTensor (Eigen::Tensor< float, 3 > tensor, word Name, word type, word folder) |
| List< Eigen::MatrixXd > | readMatrix (word folder, word mat_name) |
| | Read a three dimensional matrix from a txt file in Eigen format.
|
| Eigen::MatrixXd | readMatrix (word filename) |
| | Read a two dimensional matrix from a txt file in Eigen format.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| GeometricField< Type, PatchField, GeoMesh > | readFieldByIndex (const GeometricField< Type, PatchField, GeoMesh > &field, fileName casename, label index) |
| | Function to read a single field by index from a folder.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | read_fields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, word Name, fileName casename, int first_snap=0, int n_snap=0) |
| | Function to read a list of fields from the name of the field and casename.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | read_fields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, GeometricField< Type, PatchField, GeoMesh > &field, fileName casename, int first_snap=0, int n_snap=0) |
| | Function to read a list of fields from the name of the field if it is already existing.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | readMiddleFields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, GeometricField< Type, PatchField, GeoMesh > &field, fileName casename) |
| | Funtion to read a list of volVectorField from name of the field including all the intermediate snapshots.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | readConvergedFields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, GeometricField< Type, PatchField, GeoMesh > &field, fileName casename) |
| | Function to read a list of volVectorField from name of the field including only converged snapshots.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | read_last_fields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, const GeometricField< Type, PatchField, GeoMesh > &field, const fileName casename) |
| | Function to read a list of fields from the name of the field including only the last snapshot.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | readLastFields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, const GeometricField< Type, PatchField, GeoMesh > &field, const fileName casename) |
| | Funtion to read a list of volVectorField from name of the field including only the last snapshots.
|
| int | numberOfFiles (word folder, word MatrixName, word ext="") |
| | Count the number of files with a certain name prefix, used by reading functions of list of matrices.
|
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | exportFields (PtrList< GeometricField< Type, PatchField, GeoMesh > > &field, word folder, word fieldname) |
| | Function to export a scalar of vector field.
|
|
template void | exportFields (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &field, word folder, word fieldname) |
|
template void | exportFields (PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &field, word folder, word fieldname) |
|
template void | exportFields (PtrList< GeometricField< vector, fvPatchField, volMesh > > &field, word folder, word fieldname) |
|
template void | exportFields (PtrList< GeometricField< tensor, fvPatchField, volMesh > > &field, word folder, word fieldname) |
|
template void | exportFields (PtrList< GeometricField< vector, pointPatchField, pointMesh > > &field, word folder, word fieldname) |
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | exportSolution (GeometricField< Type, PatchField, GeoMesh > &s, fileName subfolder, fileName folder, word fieldName) |
| | Export a field to file in a certain folder and subfolder.
|
|
template void | exportSolution (GeometricField< scalar, fvPatchField, volMesh > &s, fileName subfolder, fileName folder, word fieldName) |
|
template void | exportSolution (GeometricField< vector, fvPatchField, volMesh > &s, fileName subfolder, fileName folder, word fieldName) |
|
template void | exportSolution (GeometricField< tensor, fvPatchField, volMesh > &s, fileName subfolder, fileName folder, word fieldName) |
|
template void | exportSolution (GeometricField< scalar, fvsPatchField, surfaceMesh > &s, fileName subfolder, fileName folder, word fieldName) |
|
template void | exportSolution (GeometricField< vector, fvsPatchField, surfaceMesh > &s, fileName subfolder, fileName folder, word fieldName) |
| template<class Type, template< class > class PatchField, class GeoMesh> |
| void | exportSolution (GeometricField< Type, PatchField, GeoMesh > &s, fileName subfolder, fileName folder) |
| | Export a field to file in a certain folder and subfolder.
|
|
template void | exportSolution (GeometricField< scalar, fvPatchField, volMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< vector, fvPatchField, volMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< tensor, fvPatchField, volMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< scalar, fvsPatchField, surfaceMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< vector, fvsPatchField, surfaceMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< scalar, pointPatchField, pointMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< vector, pointPatchField, pointMesh > &s, fileName subfolder, fileName folder) |
|
template void | exportSolution (GeometricField< tensor, pointPatchField, pointMesh > &s, fileName subfolder, fileName folder) |
| void | writePoints (pointField points, fileName folder, fileName subfolder) |
| | Write points of a mesh to a file.
|
| void | printProgress (double percentage) |
| | Print progress bar given the percentage.
|
| template<typename T> |
| void | save (const List< Eigen::SparseMatrix< T > > &MatrixList, word folder, word MatrixName) |
| template<typename T> |
| void | load (List< Eigen::SparseMatrix< T > > &MatrixList, word folder, word MatrixName) |
|
template void | read_fields (PtrList< pointVectorField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< pointVectorField > &Lfield, pointVectorField &field, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volScalarField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volVectorField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volTensorField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< surfaceScalarField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< surfaceVectorField > &Lfield, word Name, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volScalarField > &Lfield, volScalarField &field, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volVectorField > &Lfield, volVectorField &field, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< volTensorField > &Lfield, volTensorField &field, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< surfaceScalarField > &Lfield, surfaceScalarField &field, fileName casename, int first_snap, int n_snap) |
|
template void | read_fields (PtrList< surfaceVectorField > &Lfield, surfaceVectorField &field, fileName casename, int first_snap, int n_snap) |
|
template void | readMiddleFields (PtrList< volScalarField > &Lfield, volScalarField &field, fileName casename) |
|
template void | readMiddleFields (PtrList< pointVectorField > &Lfield, pointVectorField &field, fileName casename) |
|
template void | readMiddleFields (PtrList< volVectorField > &Lfield, volVectorField &field, fileName casename) |
|
template void | readMiddleFields (PtrList< volTensorField > &Lfield, volTensorField &field, fileName casename) |
|
template void | readMiddleFields (PtrList< surfaceScalarField > &Lfield, surfaceScalarField &field, fileName casename) |
|
template void | readMiddleFields (PtrList< surfaceVectorField > &Lfield, surfaceVectorField &field, fileName casename) |
|
template void | readConvergedFields (PtrList< volScalarField > &Lfield, volScalarField &field, fileName casename) |
|
template void | readConvergedFields (PtrList< volVectorField > &Lfield, volVectorField &field, fileName casename) |
|
template void | readConvergedFields (PtrList< volTensorField > &Lfield, volTensorField &field, fileName casename) |
|
template void | readConvergedFields (PtrList< surfaceScalarField > &Lfield, surfaceScalarField &field, fileName casename) |
|
template void | readConvergedFields (PtrList< surfaceVectorField > &Lfield, surfaceVectorField &field, fileName casename) |
|
template void | read_last_fields (PtrList< volScalarField > &Lfield, const volScalarField &field, const fileName casename) |
|
template void | read_last_fields (PtrList< volVectorField > &Lfield, const volVectorField &field, const fileName casename) |
|
template void | read_last_fields (PtrList< volTensorField > &Lfield, const volTensorField &field, const fileName casename) |
|
template void | read_last_fields (PtrList< surfaceScalarField > &Lfield, const surfaceScalarField &field, const fileName casename) |
|
template void | read_last_fields (PtrList< surfaceVectorField > &Lfield, const surfaceVectorField &field, const fileName casename) |
|
template void | readLastFields (PtrList< volScalarField > &Lfield, const volScalarField &field, const fileName casename) |
|
template void | readLastFields (PtrList< volVectorField > &Lfield, const volVectorField &field, const fileName casename) |
|
template void | readLastFields (PtrList< volTensorField > &Lfield, const volTensorField &field, const fileName casename) |
|
template void | readLastFields (PtrList< surfaceScalarField > &Lfield, const surfaceScalarField &field, const fileName casename) |
|
template void | readLastFields (PtrList< surfaceVectorField > &Lfield, const surfaceVectorField &field, const fileName casename) |
| template<typename T> |
| void | exportList (T &list, word folder, word filename) |
| | Export a list to file.
|
|
template void | exportList (Field< scalar > &list, word folder, word filename) |
|
template void | exportList (Field< vector > &list, word folder, word filename) |
|
template void | exportList (Field< tensor > &list, word folder, word filename) |
|
template void | save (const List< Eigen::SparseMatrix< double > > &MatrixList, word folder, word MatrixName) |
|
template void | load (List< Eigen::SparseMatrix< double > > &MatrixList, word folder, word MatrixName) |
|
template GeometricField< scalar, fvPatchField, volMesh > | readFieldByIndex (const GeometricField< scalar, fvPatchField, volMesh > &, fileName, label) |
|
template GeometricField< vector, fvPatchField, volMesh > | readFieldByIndex (const GeometricField< vector, fvPatchField, volMesh > &, fileName, label) |
|
template GeometricField< tensor, fvPatchField, volMesh > | readFieldByIndex (const GeometricField< tensor, fvPatchField, volMesh > &, fileName, label) |
|
template GeometricField< scalar, fvsPatchField, surfaceMesh > | readFieldByIndex (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, fileName, label) |
|
template GeometricField< vector, fvsPatchField, surfaceMesh > | readFieldByIndex (const GeometricField< vector, fvsPatchField, surfaceMesh > &, fileName, label) |
| template<typename T> |
| void | read_snapshot (T &snapshot, const Foam::word snap_time, Foam::word path, Foam::word name) |
|
template void | read_snapshot (Foam::volScalarField &snapshot, const Foam::word snap_time, Foam::word path, Foam::word name) |
|
template void | read_snapshot (Foam::volVectorField &snapshot, const Foam::word snap_time, Foam::word path, Foam::word name) |
|
template void | read_snapshot (Foam::volTensorField &snapshot, const Foam::word snap_time, Foam::word path, Foam::word name) |
| template<typename T, int Nrows, typename IND> |
| void | SaveSparseMatrix (Eigen::SparseMatrix< T, Nrows, IND > &m, word folder, word MatrixName) |
| | Export an Eigen sparse matrix into bynary format file.
|
| template<typename T, int Nrows, typename IND> |
| void | ReadSparseMatrix (Eigen::SparseMatrix< T, Nrows, IND > &m, word folder, word MatrixName) |
| | Read an Eigen sparse matrix from a bynary format file.
|
| template<typename MatrixType> |
| void | SaveDenseMatrix (MatrixType &Matrix, word folder, word MatrixName) |
| | Save a dense matrix to a binary format file.
|
| template<typename MatrixType> |
| void | ReadDenseMatrix (MatrixType &Matrix, word folder, word MatrixName) |
| | Read a dense matrix from a binary format file.
|
| template<typename TensorType> |
| void | SaveDenseTensor (TensorType &Tensor, word folder, word MatrixName) |
| | Save a dense tensor to file.
|
| template<typename TensorType> |
| void | ReadDenseTensor (TensorType &Tensor, word folder, word MatrixName) |
| | Read a dense tensor from file.
|
| template<typename MatrixType> |
| void | SaveSparseMatrixList (List< MatrixType > &MatrixList, word folder, word MatrixName) |
| | Save a sparse matrix list to bynary files.
|
| template<typename T, int Nrows, typename IND> |
| void | ReadSparseMatrixList (List< Eigen::SparseMatrix< T, Nrows, IND > > &m, word folder, word MatrixName) |
| | Read a sparse matrix list to bynary files.
|
| template<typename MatrixType> |
| void | SaveDenseMatrixList (List< MatrixType > &MatrixList, word folder, word MatrixName) |
| | Save a dense matrix list to bynary files.
|
| template<typename MatrixType> |
| void | ReadDenseMatrixList (List< MatrixType > &m, word folder, word MatrixName) |
| | Read a sparse matrix list to bynary files.
|