queso-0.57.1
|
Class describing negative Laplacian operator using libmesh backend. More...
#include <LibMeshNegativeLaplacianOperator.h>
Public Member Functions | |
Constructor/Destructor methods | |
LibMeshNegativeLaplacianOperator (const FunctionOperatorBuilder &builder, libMesh::MeshBase &m) | |
Construct the negative Laplacian operator on the libmesh mesh m with builder builder . More... | |
~LibMeshNegativeLaplacianOperator () | |
Destructor. More... | |
virtual void | assemble () |
Method to assemble the mass and stiffness matrices. More... | |
virtual void | print_info () const |
Print libmesh related foo. More... | |
Public Member Functions inherited from QUESO::LibMeshOperatorBase | |
virtual void | save_converged_evals (const std::string &filename) const |
Save the eigenvalues to file filename . More... | |
virtual void | save_converged_evec (const std::string &filename, unsigned int i) const |
Save converged eigenfunction i to filename . More... | |
virtual unsigned int | get_num_converged () const |
Return the number of converged eigenpairs. More... | |
virtual double | get_eigenvalue (unsigned int i) const |
Return eigenvalue i . More... | |
virtual double | get_inverted_eigenvalue (unsigned int i) const |
Return the reciprocal of eigenvalue i . More... | |
virtual libMesh::EquationSystems & | get_equation_systems () const |
Return the internal libmesh equation systems object. More... | |
virtual SharedPtr < FunctionBase >::Type | inverse_kl_transform (std::vector< double > &xi, double alpha) const |
Given coefficients xi , computes the Karhunen-Loeve transform. More... | |
LibMeshOperatorBase (const FunctionOperatorBuilder &builder, libMesh::MeshBase &m) | |
Constuct an operator on the mesh m using a builder builder . More... | |
~LibMeshOperatorBase () | |
Destructor. More... | |
Public Member Functions inherited from QUESO::OperatorBase | |
OperatorBase () | |
Constructor. More... | |
virtual | ~OperatorBase () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::LibMeshOperatorBase | |
SharedPtr < libMesh::EquationSystems > ::Type | equation_systems |
const FunctionOperatorBuilder & | builder |
unsigned int | num_req_pairs |
The number of requested eigenpairs. More... | |
unsigned int | nconv |
The number of converged eigenpairs. More... | |
Class describing negative Laplacian operator using libmesh backend.
Definition at line 53 of file LibMeshNegativeLaplacianOperator.h.
QUESO::LibMeshNegativeLaplacianOperator::LibMeshNegativeLaplacianOperator | ( | const FunctionOperatorBuilder & | builder, |
libMesh::MeshBase & | m | ||
) |
Construct the negative Laplacian operator on the libmesh mesh m
with builder builder
.
The negative Laplacian operator is ( - )
A builder
object is just one that a FEM library backend can use to set up various options. Polynomial type, polynomial order, and the number of eigenpairs to request are good examples.
Definition at line 56 of file LibMeshNegativeLaplacianOperator.C.
References QUESO::LibMeshOperatorBase::equation_systems, QUESO::LibMeshOperatorBase::nconv, QUESO::FunctionOperatorBuilder::num_req_eigenpairs, and QUESO::FunctionOperatorBuilder::order.
QUESO::LibMeshNegativeLaplacianOperator::~LibMeshNegativeLaplacianOperator | ( | ) |
|
virtual |
Method to assemble the mass and stiffness matrices.
Implements QUESO::LibMeshOperatorBase.
Definition at line 141 of file LibMeshNegativeLaplacianOperator.C.
References dim, and QUESO::LibMeshOperatorBase::equation_systems.
|
virtual |
Print libmesh related foo.
Implements QUESO::LibMeshOperatorBase.
Definition at line 270 of file LibMeshNegativeLaplacianOperator.C.
References QUESO::LibMeshOperatorBase::equation_systems.