LifeV
|
Tutorial for a "better" usage of the blocks. More...
#include <Epetra_ConfigDefs.h>
#include <Epetra_SerialComm.h>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/mesh/MeshPartitioner.hpp>
#include <lifev/core/mesh/RegionMesh3DStructured.hpp>
#include <lifev/core/mesh/RegionMesh.hpp>
#include <lifev/core/array/MatrixEpetra.hpp>
#include <lifev/core/array/VectorEpetra.hpp>
#include <lifev/core/array/MatrixEpetraStructured.hpp>
#include <lifev/core/array/VectorEpetraStructured.hpp>
#include <lifev/core/array/MatrixEpetraStructuredUtility.hpp>
#include <lifev/eta/fem/ETFESpace.hpp>
#include <lifev/eta/expression/Integrate.hpp>
#include <lifev/core/fem/FESpace.hpp>
#include <lifev/core/util/LifeChrono.hpp>
#include <boost/shared_ptr.hpp>
Go to the source code of this file.
Typedefs | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef VectorEpetra | vector_Type |
typedef MatrixEpetraStructured< Real > | blockMatrix_Type |
typedef VectorEpetraStructured | blockVector_Type |
Functions | |
int | main (int argc, char **argv) |
Tutorial for a "better" usage of the blocks.
In the previous tutorial, we saw how to use the ETA framework with block structured matrices. This tutorial aims at investigating that more in detail.
In particular, 4 different strategies are proposed for the assembly of the Stokes matrix. The first one is the most simple strategy, but not the most efficient one. Two intermediate strategies are developed to show the influence of the different points. The last strategy represents the most efficient way of assembling the matrix.
In practice, only the first (simplest) and last (fastest) strategy should be considered since intermediate strategies have no advantages.
Tutorials that should be read before: 1,4,7
Definition in file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
typedef RegionMesh<LinearTetra> mesh_Type |
Definition at line 98 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 99 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
typedef VectorEpetra vector_Type |
Definition at line 100 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
typedef MatrixEpetraStructured<Real> blockMatrix_Type |
Definition at line 101 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
Definition at line 102 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 110 of file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.