![]() |
LifeV
|
#include <HarmonicExtensionSolver.hpp>
Collaboration diagram for HarmonicExtensionSolver< Mesh, SolverType >:Private Attributes | |
| FESpace< Mesh, MapEpetra > & | M_FESpace |
| Finite Element Space. More... | |
| MapEpetra | M_localMap |
| local map More... | |
| matrixPtr_Type | M_matrHE |
| The matrix holding the values. More... | |
| Displayer | M_displayer |
| int | M_me |
| bool | M_verbose |
| MatrixElemental | M_elmat |
| Elementary matrix : 3 blocks. More... | |
| vectorPtr_Type | M_disp |
| The actual extension of the displacement. More... | |
| vectorPtr_Type | M_secondRHS |
| Auxiliary vector holding the second right hand of the system. More... | |
| solverPtr_Type | M_linearSolver |
| The linear solver. More... | |
| Real | M_diffusion |
| Diffusion coefficient for the laplacian operator. More... | |
| UInt | M_offset |
Public Types | |
| typedef SolverType | solver_Type |
| typedef std::shared_ptr< solver_Type > | solverPtr_Type |
| typedef solver_Type::matrix_type | matrix_Type |
| typedef solver_Type::matrix_ptrtype | matrixPtr_Type |
| typedef solver_Type::vector_type | vector_Type |
| typedef solver_Type::vector_ptrtype | vectorPtr_Type |
| typedef SolverType | solver_type |
| typedef solver_type::matrix_type | matrix_type |
| typedef solver_type::vector_type | vector_type |
Constructor & Destructor | |
| HarmonicExtensionSolver (FESpace< Mesh, MapEpetra > &mmFESpace, std::shared_ptr< Epetra_Comm > comm) | |
| Constructors for an harmonics extensions. More... | |
| HarmonicExtensionSolver (FESpace< Mesh, MapEpetra > &mmFESpace, std::shared_ptr< Epetra_Comm > comm, MapEpetra &localMap, UInt offset=0) | |
| Constructors for an harmonics extensions with offset. More... | |
| virtual | ~HarmonicExtensionSolver () |
| virtual destructor More... | |
Methods | |
| void | setUp (const GetPot &dataFile) |
| Set up data from GetPot. More... | |
| void | iterate (BCHandler &BCh) |
| Update convective term, boundary condition and solve the linearized ns system. More... | |
| bool | isLeader () const |
| returns wheter this processor is the leader. More... | |
| void | resetPrec (bool reset=true) |
| prepare to recompute the preconditioner. More... | |
| void | rescaleMatrix (Real &dt) |
| manually rescale the system matrix by dt More... | |
| void | addSystemMatrixTo (matrixPtr_Type matr) const |
| Adds the system matrix to the argument. More... | |
| void | applyBoundaryConditions (vector_Type &rhs, BCHandler &BCh) |
| Apply boundary conditions. More... | |
| void | computeMatrix () |
| void | updateDispDiff () |
Get Methods | |
| vector_Type const & | disp () const |
| vector_Type & | disp () |
| MapEpetra const & | getMap () const |
| FESpace< Mesh, MapEpetra > const & | mFESpace () const |
| const std::shared_ptr< Epetra_Comm > & | comm () const |
Definition at line 71 of file HarmonicExtensionSolver.hpp.
| typedef SolverType solver_Type |
Definition at line 78 of file HarmonicExtensionSolver.hpp.
| typedef std::shared_ptr<solver_Type> solverPtr_Type |
Definition at line 79 of file HarmonicExtensionSolver.hpp.
| typedef solver_Type::matrix_type matrix_Type |
Definition at line 81 of file HarmonicExtensionSolver.hpp.
| typedef solver_Type::matrix_ptrtype matrixPtr_Type |
Definition at line 82 of file HarmonicExtensionSolver.hpp.
| typedef solver_Type::vector_type vector_Type |
Definition at line 83 of file HarmonicExtensionSolver.hpp.
Definition at line 84 of file HarmonicExtensionSolver.hpp.
| typedef SolverType solver_type |
Definition at line 87 of file HarmonicExtensionSolver.hpp.
| typedef solver_type::matrix_type matrix_type |
Definition at line 89 of file HarmonicExtensionSolver.hpp.
| typedef solver_type::vector_type vector_type |
Definition at line 90 of file HarmonicExtensionSolver.hpp.
| HarmonicExtensionSolver | ( | FESpace< Mesh, MapEpetra > & | mmFESpace, |
| std::shared_ptr< Epetra_Comm > | comm | ||
| ) |
Constructors for an harmonics extensions.
| mmFESpace | the FEspace that describes the problem |
| comm | the Epetra_Comm to be used for communication |
Definition at line 248 of file HarmonicExtensionSolver.hpp.
| HarmonicExtensionSolver | ( | FESpace< Mesh, MapEpetra > & | mmFESpace, |
| std::shared_ptr< Epetra_Comm > | comm, | ||
| MapEpetra & | localMap, | ||
| UInt | offset = 0 |
||
| ) |
Constructors for an harmonics extensions with offset.
| mmFESpace | the FEspace that describes the problem |
| comm | the Epetra_Comm to be used for communication |
| localMap | use localMap instead of M_FESpace.map() |
| offset | use this offset to fill the matrix (both: row and column offset) |
Definition at line 267 of file HarmonicExtensionSolver.hpp.
|
inlinevirtual |
virtual destructor
Definition at line 121 of file HarmonicExtensionSolver.hpp.
| void setUp | ( | const GetPot & | dataFile | ) |
Set up data from GetPot.
| dataFile | GetPot object |
Definition at line 291 of file HarmonicExtensionSolver.hpp.
| void iterate | ( | BCHandler & | BCh | ) |
Update convective term, boundary condition and solve the linearized ns system.
| bcHandler | BC handler |
Definition at line 308 of file HarmonicExtensionSolver.hpp.
|
inline |
returns wheter this processor is the leader.
Definition at line 141 of file HarmonicExtensionSolver.hpp.
|
inline |
prepare to recompute the preconditioner.
Definition at line 147 of file HarmonicExtensionSolver.hpp.
|
inline |
manually rescale the system matrix by dt
Definition at line 156 of file HarmonicExtensionSolver.hpp.
|
inline |
Adds the system matrix to the argument.
Definition at line 162 of file HarmonicExtensionSolver.hpp.
| void applyBoundaryConditions | ( | vector_Type & | rhs, |
| BCHandler & | BCh | ||
| ) |
Apply boundary conditions.
| rightHandSide | |
| bcHandler |
Definition at line 328 of file HarmonicExtensionSolver.hpp.
| void computeMatrix | ( | ) |
Definition at line 353 of file HarmonicExtensionSolver.hpp.
| void updateDispDiff | ( | ) |
|
inline |
Definition at line 182 of file HarmonicExtensionSolver.hpp.
|
inline |
Definition at line 186 of file HarmonicExtensionSolver.hpp.
|
inline |
Definition at line 191 of file HarmonicExtensionSolver.hpp.
Definition at line 196 of file HarmonicExtensionSolver.hpp.
|
inline |
Definition at line 201 of file HarmonicExtensionSolver.hpp.
Finite Element Space.
Definition at line 211 of file HarmonicExtensionSolver.hpp.
|
private |
local map
Definition at line 214 of file HarmonicExtensionSolver.hpp.
|
private |
The matrix holding the values.
Definition at line 217 of file HarmonicExtensionSolver.hpp.
|
private |
Definition at line 219 of file HarmonicExtensionSolver.hpp.
|
private |
Definition at line 220 of file HarmonicExtensionSolver.hpp.
|
private |
Definition at line 221 of file HarmonicExtensionSolver.hpp.
|
private |
Elementary matrix : 3 blocks.
Definition at line 224 of file HarmonicExtensionSolver.hpp.
|
private |
The actual extension of the displacement.
Definition at line 227 of file HarmonicExtensionSolver.hpp.
|
private |
Auxiliary vector holding the second right hand of the system.
Definition at line 230 of file HarmonicExtensionSolver.hpp.
|
private |
The linear solver.
Definition at line 233 of file HarmonicExtensionSolver.hpp.
|
private |
Diffusion coefficient for the laplacian operator.
Definition at line 236 of file HarmonicExtensionSolver.hpp.
|
private |
Definition at line 238 of file HarmonicExtensionSolver.hpp.