#include <space2D.hh>
Public Types | |
typedef concepts::Scan< Element > | Scan |
typedef void(* | SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &) |
typedef Element< Real > | type |
typedef Scan< Element< Real > > | Scanner |
Public Member Functions | |
Linear2d (concepts::Mesh2 &msh, uint level, concepts::BoundaryConditions *bc=0) | |
virtual uint | dim () const |
Returns the dimension of the space. | |
virtual uint | nelm () const |
Returns the number of elements in the space. | |
virtual Scan * | scan () const |
Returns a scanner to iterate over the elements of the space. | |
void | rebuild () |
Rebuilds the space. | |
void | adjust (const Quad &elm, const short level) |
const SMap & | S (uint i) const |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. | |
Static Public Member Functions | |
static void | S0 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst) |
static void | S1 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst) |
static void | S2 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst) |
static void | S3 (const concepts::TColumn< Real > &src, concepts::TColumn< Real > &dst) |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Space for linear triangular and bilinear quadrilateral FEM in 2D.
Definition at line 44 of file space2D.hh.
Definition at line 46 of file space2D.hh.
|
inherited |
typedef void(* linearFEM::Linear2d::SMap) (const concepts::TColumn< Real > &, concepts::TColumn< Real > &) |
Definition at line 47 of file space2D.hh.
|
inherited |
linearFEM::Linear2d::Linear2d | ( | concepts::Mesh2 & | msh, |
uint | level, | ||
concepts::BoundaryConditions * | bc = 0 |
||
) |
Constructor.
msh | Mesh |
level | Number levels for initial refinement |
bc | Boundary conditions |
void linearFEM::Linear2d::adjust | ( | const Quad & | elm, |
const short | level | ||
) |
Adjusts an element in the space. Only quads have S matrices, therefore, only quads can be refined.
elm | Element to refine |
level | Number of refinements |
|
inlinevirtual |
Returns the dimension of the space.
Implements concepts::Space< Real >.
Definition at line 58 of file space2D.hh.
|
inlinevirtualinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Space< Real >.
|
inlinevirtual |
Returns the number of elements in the space.
Implements concepts::Space< Real >.
Definition at line 59 of file space2D.hh.
const SMap & linearFEM::Linear2d::S | ( | uint | i | ) | const |
Returns the ith S matrix. The S matrices are used for the irregular refinement of a mesh. An S matrix is independent of the geometry but it depends on the topological relation of the children with the parent: the bottom left child has a different S matrix than the top right etc.
|
virtual |
Returns a scanner to iterate over the elements of the space.
Implements concepts::Space< Real >.