Go to the documentation of this file.
28 template <
class F = concepts::Real>
53 virtual std::ostream&
info(std::ostream& os)
const;
69 uint j = ctrl_ >> (i << 1);
70 return *cell_.connector().vertex(j & 3);
79 template <
class F = concepts::Real>
104 virtual std::ostream&
info(std::ostream& os)
const;
117 uint idx[], uint vtx[], uint n)
118 : cell_(cell), T_(n, n, idx) {
121 for(uint i = n; i--;) {
ctrl_ <<= 2;
ctrl_ |= vtx[i] & 3;}
126 uint j = ctrl_ >> (i << 1);
127 return *cell_.connector().vertex(j & 3);
140 template <
class F = concepts::Real>
165 std::ostream&
info(std::ostream& os)
const;
176 static std::unique_ptr<concepts::ElementGraphics<F> >
graphics_;
181 return cell_.connector();
190 template <
class F = concepts::Real>
213 std::ostream&
info(std::ostream& os)
const;
225 return cell_.connector();
238 template <
class F = concepts::Real>
263 std::ostream&
info(std::ostream& os)
const;
274 static std::unique_ptr<concepts::ElementGraphics<F> >
graphics_;
279 return cell_.connector();
288 template <
class F = concepts::Real>
311 std::ostream&
info(std::ostream& os)
const;
323 return cell_.connector();
334 template<
class F = concepts::Real>
346 inline uint
l()
const {
return l_;}
347 inline uint
j()
const {
return j_;}
391 std::ostream&
info(std::ostream& os)
const;
410 static std::unique_ptr<concepts::ElementGraphics<F> >
graphics_;
415 return cell_->connector();
426 template <
class F = concepts::Real>
452 std::ostream&
info(std::ostream& os)
const;
463 static std::unique_ptr<concepts::ElementGraphics<F> >
graphics_;
468 return cell_.connector();
477 template <
class F = concepts::Real>
500 std::ostream&
info(std::ostream& os)
const;
512 return cell_.connector();
519 #endif // bemElement_hh
Handles graphics output (to a file) of a specific element.
const concepts::Triangle3d & cell_
const concepts::TMatrixBase< F > & T() const
Returns the T matix of the element.
Constant3d000(const concepts::Triangle3d &cell, uint idx)
Constructor.
const concepts::Vertex & support(uint i) const
Returns support of Dirac.
std::ostream & info(std::ostream &os) const
Key with some level dependent information.
concepts::TIndex< F > T_
T matrix.
Linear triangular element.
Constant triangular element.
const concepts::Real3d & vertex(uint i) const
Returns a vertex of triangle.
virtual const concepts::Triangle3d & cell() const
virtual std::ostream & info(std::ostream &os) const
const concepts::TMatrixBase< F > & T() const
Returns the T matix of the element.
Key key_
Key of the element.
std::ostream & info(std::ostream &os) const
const concepts::Real3d & vertex(uint i) const
Returns vertex of triangle.
concepts::TIndex< F > T_
T matrix.
unsigned char uchar
Abbreviation for unsigned char.
const concepts::Triangle3d & cell_
concepts::Real3d v_[3]
Vertices of the triangle.
const concepts::TMatrixBase< F > & T() const
Returns the T matix of the element.
concepts::Unit3d n_
Normal of the element.
const concepts::Real3d & vertex(uint i) const
Returns a vertex of triangle.
static std::unique_ptr< concepts::ElementGraphics< F > > graphics_
concepts::Real3d v_[3]
Vertices of the triangle.
static void setminlevel(uint minlvl)
Linear3d000(const concepts::Triangle3d &cell, uint idx[])
Constructor.
concepts::Unit3d n_
Normal of the element.
concepts::Unit3d n_
Normal of the element.
static uint minlvl_
Minimal level of an element in the space.
const concepts::Unit3d & n() const
Returns the normal of the element.
const concepts::Real3d & vertex(uint i) const
Returns a vertex of triangle.
static uint maxlvl_
Maximal level of an element in the space.
std::ostream & info(std::ostream &os) const
virtual const concepts::ElementGraphics< F > * graphics() const
Constant space element with a level dependent key.
const concepts::Triangle & support() const
Returns the support.
concepts::TIndex< F > T_
T matrix.
const concepts::Unit3d & n() const
Returns the normal of the element.
A vertex in the topology.
static std::unique_ptr< concepts::ElementGraphics< F > > graphics_
A vector of dimension dim and length 1.
concepts::uchar ctrl_
Control which vertex belong to which DoF.
virtual const concepts::Triangle3d & cell() const
static std::unique_ptr< concepts::ElementGraphics< F > > graphics_
const concepts::TMatrixBase< F > & T() const
Returns T matrix of the element.
concepts::TIndex< F > T_
T matrix.
virtual const concepts::Triangle3d & cell() const
concepts::TIndex< F > T_
T matrix.
const concepts::Triangle & support() const
Returns the support.
Used for the basic classes of the boundary element method.
virtual const concepts::ElementGraphics< F > * graphics() const
An abstract class for a T matrix.
Constant triangular element with normed basis function.
const concepts::Real3d & vertex(uint i) const
Returns a vertex of triangle.
const concepts::Unit3d & n() const
Returns the normal of the element.
concepts::Unit3d n_
Normal of the element.
const concepts::Triangle3d & cell_
Cell of the Dirac's.
concepts::Real3d v_[3]
Vertices of the triangle.
concepts::Triangle3d * cell_
Cell of the element.
static void setmaxlevel(uint maxlvl)
const concepts::Unit3d & n() const
Returns the normal of the element.
Dirac element on triangles (used for collocation method).
const concepts::Triangle & support() const
Returns the support.
const concepts::Triangle & support() const
Returns the support.
concepts::Real3d v_[3]
Vertices of the triangle.
std::ostream & info(std::ostream &os) const
static uint maxlevel()
Maximal and minimal level of an element in the space.
Constant3d002(const concepts::Triangle3d &cell, uint idx)
Constructor.
virtual const concepts::Triangle3d & cell() const
concepts::Real3d v_[3]
Vertices of the triangle.
virtual concepts::Triangle3d & cell() const
Dirac3d000(const concepts::Triangle3d &cell, uint idx[], uint vtx[], uint n)
Constructor.
virtual const concepts::ElementGraphics< F > * graphics() const
A triangle in the topology.
Constant3d001(concepts::Triangle3d &cell, const Constant3d001< F >::Key &key, uint idx)
Constructor.
int operator==(const Key &key) const
const Key & key() const
Returns the key of the element.
static std::unique_ptr< concepts::ElementGraphics< F > > graphics_
const concepts::TMatrixBase< F > & T() const
Returns the T matix of the element.
T matrix for linear and regular elements.
Basic namespace for Concepts-2.
virtual const concepts::ElementGraphics< F > * graphics() const
const concepts::Triangle3d & cell_