MFEM  v3.2
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mfem::miniapps::ParDiscreteInterpolationOperator Class Reference

#include <pfem_extras.hpp>

Inheritance diagram for mfem::miniapps::ParDiscreteInterpolationOperator:
[legend]
Collaboration diagram for mfem::miniapps::ParDiscreteInterpolationOperator:
[legend]

Public Member Functions

virtual ~ParDiscreteInterpolationOperator ()
 
HYPRE_Int Mult (HypreParVector &x, HypreParVector &y, double alpha=1.0, double beta=0.0)
 Computes y = alpha * A * x + beta * y. More...
 
HYPRE_Int Mult (HYPRE_ParVector x, HYPRE_ParVector y, double alpha=1.0, double beta=0.0)
 Computes y = alpha * A * x + beta * y. More...
 
HYPRE_Int MultTranspose (HypreParVector &x, HypreParVector &y, double alpha=1.0, double beta=0.0)
 Computes y = alpha * A^t * x + beta * y. More...
 
void Mult (double a, const Vector &x, double b, Vector &y) const
 Computes y = alpha * A * x + beta * y. More...
 
void MultTranspose (double a, const Vector &x, double b, Vector &y) const
 Computes y = alpha * A^t * x + beta * y. More...
 
void Mult (const Vector &x, Vector &y) const
 Computes y = A * x. More...
 
void MultTranspose (const Vector &x, Vector &y) const
 Computes y = A^t * x. More...
 
void Update ()
 
const HypreParMatrixGetMatrix () const
 
HypreParMatrixParallelAssemble ()
 

Protected Member Functions

 ParDiscreteInterpolationOperator ()
 
void createMatrix () const
 

Protected Attributes

ParDiscreteLinearOperatorpdlo_
 
HypreParMatrixmat_
 

Detailed Description

Definition at line 85 of file pfem_extras.hpp.

Constructor & Destructor Documentation

mfem::miniapps::ParDiscreteInterpolationOperator::~ParDiscreteInterpolationOperator ( )
virtual

Definition at line 75 of file pfem_extras.cpp.

mfem::miniapps::ParDiscreteInterpolationOperator::ParDiscreteInterpolationOperator ( )
inlineprotected

Definition at line 118 of file pfem_extras.hpp.

Member Function Documentation

void mfem::miniapps::ParDiscreteInterpolationOperator::createMatrix ( ) const
protected

Definition at line 138 of file pfem_extras.cpp.

const HypreParMatrix& mfem::miniapps::ParDiscreteInterpolationOperator::GetMatrix ( ) const
inline

Definition at line 113 of file pfem_extras.hpp.

HYPRE_Int mfem::miniapps::ParDiscreteInterpolationOperator::Mult ( HypreParVector x,
HypreParVector y,
double  alpha = 1.0,
double  beta = 0.0 
)

Computes y = alpha * A * x + beta * y.

Definition at line 82 of file pfem_extras.cpp.

HYPRE_Int mfem::miniapps::ParDiscreteInterpolationOperator::Mult ( HYPRE_ParVector  x,
HYPRE_ParVector  y,
double  alpha = 1.0,
double  beta = 0.0 
)

Computes y = alpha * A * x + beta * y.

Definition at line 90 of file pfem_extras.cpp.

void mfem::miniapps::ParDiscreteInterpolationOperator::Mult ( double  a,
const Vector x,
double  b,
Vector y 
) const

Computes y = alpha * A * x + beta * y.

Definition at line 107 of file pfem_extras.cpp.

void mfem::miniapps::ParDiscreteInterpolationOperator::Mult ( const Vector x,
Vector y 
) const

Computes y = A * x.

Definition at line 123 of file pfem_extras.cpp.

HYPRE_Int mfem::miniapps::ParDiscreteInterpolationOperator::MultTranspose ( HypreParVector x,
HypreParVector y,
double  alpha = 1.0,
double  beta = 0.0 
)

Computes y = alpha * A^t * x + beta * y.

Definition at line 98 of file pfem_extras.cpp.

void mfem::miniapps::ParDiscreteInterpolationOperator::MultTranspose ( double  a,
const Vector x,
double  b,
Vector y 
) const

Computes y = alpha * A^t * x + beta * y.

Definition at line 115 of file pfem_extras.cpp.

void mfem::miniapps::ParDiscreteInterpolationOperator::MultTranspose ( const Vector x,
Vector y 
) const

Computes y = A^t * x.

Definition at line 130 of file pfem_extras.cpp.

HypreParMatrix * mfem::miniapps::ParDiscreteInterpolationOperator::ParallelAssemble ( )

Definition at line 154 of file pfem_extras.cpp.

void mfem::miniapps::ParDiscreteInterpolationOperator::Update ( )

Definition at line 147 of file pfem_extras.cpp.

Member Data Documentation

HypreParMatrix* mfem::miniapps::ParDiscreteInterpolationOperator::mat_
mutableprotected

Definition at line 123 of file pfem_extras.hpp.

ParDiscreteLinearOperator* mfem::miniapps::ParDiscreteInterpolationOperator::pdlo_
protected

Definition at line 122 of file pfem_extras.hpp.


The documentation for this class was generated from the following files: