LifeV
|
#include <FastAssemblerMixed.hpp>
Public Types | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef boost::shared_ptr< mesh_Type > | meshPtr_Type |
typedef VectorEpetra | vector_Type |
typedef boost::shared_ptr< vector_Type > | vectorPtr_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef boost::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef Epetra_Comm | comm_Type |
typedef boost::shared_ptr< comm_Type > | commPtr_Type |
typedef QuadratureRule | qr_Type |
typedef boost::shared_ptr< qr_Type > | qrPtr_Type |
typedef FESpace< mesh_Type, MapEpetra > | fespace_Type |
typedef boost::shared_ptr< fespace_Type > | fespacePtr_Type |
Public Member Functions | |
FastAssemblerMixed (const meshPtr_Type &mesh, const commPtr_Type &comm, const ReferenceFE *refFE_test, const ReferenceFE *refFE_trial, const qr_Type *qr_integration) | |
Constructor. More... | |
~FastAssemblerMixed () | |
Destructor. More... | |
Private Attributes | |
meshPtr_Type | M_mesh |
commPtr_Type | M_comm |
int | M_numElements |
int | M_numScalarDofs_test |
int | M_numScalarDofs_trial |
double * | M_detJacobian |
double *** | M_invJacobian |
double ** | M_phi_test |
double *** | M_dphi_test |
double ** | M_phi_trial |
double *** | M_dphi_trial |
double ** | M_elements_test |
double ** | M_elements_trial |
const qr_Type * | M_qr_integration |
const ReferenceFE * | M_referenceFE_test |
const ReferenceFE * | M_referenceFE_trial |
double **** | M_vals |
int ** | M_rows |
int ** | M_cols |
Methods | |
void | allocateSpace (const int &numElements, CurrentFE *fe_test, const fespacePtr_Type &fespace_test, CurrentFE *fe_trial, const fespacePtr_Type &fespace_trial) |
Allocate space for members before the assembly. More... | |
void | assemble_NS_block01 (matrixPtr_Type &matrix) |
FE Assembly block (0,1) of Navier-Stokes. More... | |
void | assemble_NS_block10 (matrixPtr_Type &matrix) |
FE Assembly block (1,0) of Navier-Stokes. More... | |
void | assemble_SUPG_block10 (matrixPtr_Type &matrix, const vector_Type &u_h) |
FE Assembly block (1,0) of SUPG stabilization for Navier-Stokes. More... | |
void | assemble_SUPG_block01 (matrixPtr_Type &matrix, const vector_Type &u_h) |
FE Assembly block (0,1) of SUPG stabilization for Navier-Stokes. More... | |
Definition at line 54 of file FastAssemblerMixed.hpp.
typedef RegionMesh< LinearTetra > mesh_Type |
Definition at line 58 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr<mesh_Type> meshPtr_Type |
Definition at line 59 of file FastAssemblerMixed.hpp.
typedef VectorEpetra vector_Type |
Definition at line 61 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr<vector_Type> vectorPtr_Type |
Definition at line 62 of file FastAssemblerMixed.hpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 64 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr<matrix_Type> matrixPtr_Type |
Definition at line 65 of file FastAssemblerMixed.hpp.
typedef Epetra_Comm comm_Type |
Definition at line 67 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr< comm_Type > commPtr_Type |
Definition at line 68 of file FastAssemblerMixed.hpp.
typedef QuadratureRule qr_Type |
Definition at line 70 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr< qr_Type > qrPtr_Type |
Definition at line 71 of file FastAssemblerMixed.hpp.
typedef FESpace<mesh_Type, MapEpetra> fespace_Type |
Definition at line 73 of file FastAssemblerMixed.hpp.
typedef boost::shared_ptr<fespace_Type> fespacePtr_Type |
Definition at line 74 of file FastAssemblerMixed.hpp.
FastAssemblerMixed | ( | const meshPtr_Type & | mesh, |
const commPtr_Type & | comm, | ||
const ReferenceFE * | refFE_test, | ||
const ReferenceFE * | refFE_trial, | ||
const qr_Type * | qr_integration | ||
) |
Constructor.
mesh | - input mesh |
comm | - communicator |
refFE_test | - reference FE space of test functions |
refFE_trial | - reference FE space of trial functions |
qr_integration | - quadrature rule to be used for the integration |
Definition at line 14 of file FastAssemblerMixed.cpp.
~FastAssemblerMixed | ( | ) |
Destructor.
Definition at line 26 of file FastAssemblerMixed.cpp.
void allocateSpace | ( | const int & | numElements, |
CurrentFE * | fe_test, | ||
const fespacePtr_Type & | fespace_test, | ||
CurrentFE * | fe_trial, | ||
const fespacePtr_Type & | fespace_trial | ||
) |
Allocate space for members before the assembly.
numElements | - data file |
fe_test | - current FE test functions |
fespace_test | - FE space test functions |
fe_trial | - current FE trial functions |
fespace_trial | - FE space trial functions |
Definition at line 124 of file FastAssemblerMixed.cpp.
void assemble_NS_block01 | ( | matrixPtr_Type & | matrix | ) |
FE Assembly block (0,1) of Navier-Stokes.
matrix | - global matrix, in this case the block (0,1) of Navier-Stokes |
Definition at line 323 of file FastAssemblerMixed.cpp.
void assemble_NS_block10 | ( | matrixPtr_Type & | matrix | ) |
FE Assembly block (1,0) of Navier-Stokes.
matrix | - global matrix, in this case the block (1,0) of Navier-Stokes |
Definition at line 416 of file FastAssemblerMixed.cpp.
void assemble_SUPG_block10 | ( | matrixPtr_Type & | matrix, |
const vector_Type & | u_h | ||
) |
FE Assembly block (1,0) of SUPG stabilization for Navier-Stokes.
matrix | - global matrix, in this case the block (1,0) of Navier-Stokes |
u_h | - vector extrapolapolated velocity |
Definition at line 508 of file FastAssemblerMixed.cpp.
void assemble_SUPG_block01 | ( | matrixPtr_Type & | matrix, |
const vector_Type & | u_h | ||
) |
FE Assembly block (0,1) of SUPG stabilization for Navier-Stokes.
matrix | - global matrix, in this case the block (0,1) of Navier-Stokes |
u_h | - vector extrapolapolated velocity |
Definition at line 640 of file FastAssemblerMixed.cpp.
|
private |
Definition at line 137 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 138 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 140 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 141 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 142 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 144 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 145 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 147 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 148 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 149 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 150 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 151 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 152 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 154 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 155 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 156 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 158 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 159 of file FastAssemblerMixed.hpp.
|
private |
Definition at line 160 of file FastAssemblerMixed.hpp.