Base abstract class for time dependent operators: (x,t) -> f(x,t)
More...
#include <operator.hpp>
|
| TimeDependentOperator (int n=0, double _t=0.0) |
|
| TimeDependentOperator (int h, int w, double _t=0.0) |
|
virtual double | GetTime () const |
|
virtual void | SetTime (const double _t) |
|
virtual void | ImplicitSolve (const double dt, const Vector &x, Vector &k) |
|
virtual | ~TimeDependentOperator () |
|
| Operator (int s=0) |
| Construct a square Operator with given size s (default 0) More...
|
|
| Operator (int h, int w) |
|
int | Height () const |
| Get the height (size of output) of the Operator. Synonym with NumRows. More...
|
|
int | NumRows () const |
|
int | Width () const |
| Get the width (size of input) of the Operator. Synonym with NumCols. More...
|
|
int | NumCols () const |
|
virtual void | Mult (const Vector &x, Vector &y) const =0 |
| Operator application. More...
|
|
virtual void | MultTranspose (const Vector &x, Vector &y) const |
| Action of the transpose operator. More...
|
|
virtual Operator & | GetGradient (const Vector &x) const |
| Evaluate the gradient operator at the point x. More...
|
|
void | PrintMatlab (std::ostream &out, int n=0, int m=0) |
| Prints operator with input size n and output size m in matlab format. More...
|
|
virtual | ~Operator () |
|
Base abstract class for time dependent operators: (x,t) -> f(x,t)
Definition at line 68 of file operator.hpp.
mfem::TimeDependentOperator::TimeDependentOperator |
( |
int |
n = 0 , |
|
|
double |
_t = 0.0 |
|
) |
| |
|
inlineexplicit |
Construct a "square" time dependent Operator y = f(x,t), where x and y have the same dimension 'n'.
Definition at line 76 of file operator.hpp.
mfem::TimeDependentOperator::TimeDependentOperator |
( |
int |
h, |
|
|
int |
w, |
|
|
double |
_t = 0.0 |
|
) |
| |
|
inline |
Construct a time dependent Operator y = f(x,t), where x and y have dimensions 'w' and 'h', respectively.
Definition at line 81 of file operator.hpp.
virtual mfem::TimeDependentOperator::~TimeDependentOperator |
( |
| ) |
|
|
inlinevirtual |
virtual double mfem::TimeDependentOperator::GetTime |
( |
| ) |
const |
|
inlinevirtual |
virtual void mfem::TimeDependentOperator::ImplicitSolve |
( |
const double |
dt, |
|
|
const Vector & |
x, |
|
|
Vector & |
k |
|
) |
| |
|
inlinevirtual |
Solve the equation: k = f(x + dt*k, t), for the unknown k. This method allows for the abstract implementation of some time integration methods, including diagonal implicit Runge-Kutta (DIRK) methods and the backward Euler method in particular.
Definition at line 92 of file operator.hpp.
virtual void mfem::TimeDependentOperator::SetTime |
( |
const double |
_t | ) |
|
|
inlinevirtual |
double mfem::TimeDependentOperator::t |
|
protected |
The documentation for this class was generated from the following file: