20#ifndef LIBMESH_CELL_INF_H
21#define LIBMESH_CELL_INF_H
23#include "libmesh/libmesh_config.h"
25#ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
28#include "libmesh/elem.h"
50 const unsigned int ns,
53 Node ** nodelinkdata) :
54 Elem (nn, ns, p, elemlinkdata, nodelinkdata)
66 virtual unsigned short dim ()
const override {
return 3; }
72 virtual bool infinite ()
const override {
return true; }
This is the base class from which all geometric element types are derived.
virtual unsigned int n_vertices() const =0
const Point & point(const unsigned int i) const
The InfCell is an abstract element type that lives in three dimensions.
InfCell(const unsigned int nn, const unsigned int ns, Elem *p, Elem **elemlinkdata, Node **nodelinkdata)
Constructor.
InfCell & operator=(const InfCell &)=delete
InfCell(InfCell &&)=delete
virtual ~InfCell()=default
virtual Point origin() const override
InfCell(const InfCell &)=delete
virtual bool infinite() const override
virtual unsigned short dim() const override
A Node is like a Point, but with more information.
A Point defines a location in LIBMESH_DIM dimensional Real space.
The libMesh namespace provides an interface to certain functionality in the library.