#include <restriction.hh>
Public Types | |
typedef ElementWithCell< F > | type |
typedef Scan< ElementWithCell< F > > | Scanner |
Public Member Functions | |
RestrictionSpace (const SpaceOnCells< F > &spc, const Set< Attribute > attrib) | |
virtual Scanner * | scan () const |
Returns a scanner to iterate over the elements of the space. | |
virtual uint | dim () const |
Returns the dimension of the space. | |
virtual uint | nelm () const |
Returns the number of elements in the space. | |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Classes for restriction of spaces to a sub-domain.
The elements are not hold in this class, but the original space class, and will not be deleted in the destructor.
Definition at line 28 of file restriction.hh.
typedef Scan<ElementWithCell<F> > concepts::RestrictionSpace< F >::Scanner |
Definition at line 31 of file restriction.hh.
typedef ElementWithCell<F> concepts::RestrictionSpace< F >::type |
Definition at line 30 of file restriction.hh.
concepts::RestrictionSpace< F >::RestrictionSpace | ( | const SpaceOnCells< F > & | spc, |
const Set< Attribute > | attrib | ||
) |
Constructor
spc | another space |
attrib | set of attributes of the cells belonging to the sub-domain |
|
inlinevirtual |
Returns the dimension of the space.
Implements concepts::SpaceOnCells< F >.
Definition at line 46 of file restriction.hh.
|
inlinevirtualinherited |
Returns the default output dimension, when we consider plotting a real-valued operator on this space.
Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::SpaceOnCells< F >.
|
inlinevirtual |
Returns the number of elements in the space.
Implements concepts::SpaceOnCells< F >.
Definition at line 49 of file restriction.hh.
|
inlinevirtual |
Returns a scanner to iterate over the elements of the space.
Implements concepts::SpaceOnCells< F >.
Definition at line 43 of file restriction.hh.