![]() |
MFEM v4.9.0
Finite element discretization library
|
#include <mesh_extras.hpp>
Public Member Functions | |
| AffineTransformation (int dim_, const DenseMatrix &A_, const Vector &b_) | |
| void | Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip) override |
| Evaluate the vector coefficient in the element described by T at the point ip, storing the result in V. | |
| virtual void | Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationRule &ir) |
| Evaluate the vector coefficient in the element described by T at all points of ir, storing the result in M. | |
Public Member Functions inherited from mfem::VectorCoefficient | |
| VectorCoefficient (int vd) | |
| Initialize the VectorCoefficient with vector dimension vd. | |
| virtual void | SetTime (real_t t) |
| Set the time for time dependent coefficients. | |
| real_t | GetTime () |
| Get the time for time dependent coefficients. | |
| int | GetVDim () |
| Returns dimension of the vector. | |
| virtual void | Project (QuadratureFunction &qf) |
| Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. | |
| virtual | ~VectorCoefficient () |
Additional Inherited Members | |
Protected Attributes inherited from mfem::VectorCoefficient | |
| int | vdim |
| real_t | time |
Transform a mesh according to an arbitrary affine transformation y = A x + b Where A is a spaceDim x spaceDim matrix and b is a vector of size spaceDim. If A is of size zero the transformation will be y = b. If b is of size zero the transformation will be y = A x.
Note that no error checking related to the determinant of A is performed. If A has a non-positive determinant it is likely to produce an invalid transformed mesh.
Definition at line 49 of file mesh_extras.hpp.
|
inline |
Definition at line 57 of file mesh_extras.hpp.
|
virtual |
Evaluate the vector coefficient in the element described by T at all points of ir, storing the result in M.
The dimensions of M are GetVDim() by ir.GetNPoints() and they must be set by the implementation of this method.
The general implementation provided by the base class (using the Eval method for one IntegrationPoint at a time) can be overloaded for more efficient implementation.
Reimplemented from mfem::VectorCoefficient.
Definition at line 613 of file coefficient.cpp.
|
overridevirtual |
Evaluate the vector coefficient in the element described by T at the point ip, storing the result in V.
Implements mfem::VectorCoefficient.
Definition at line 256 of file mesh_extras.cpp.