37 std::ifstream in (
name.c_str());
49 libmesh_assert_equal_to (this->
mesh().processor_id(), 0);
58 libmesh_assert (in.good());
60 unsigned int nn, ne, nf;
67 libmesh_assert_equal_to (label,
"OFF");
73 Real x=0., y=0., z=0.;
76 for (
unsigned int n=0; n<nn; n++)
78 libmesh_assert (in.good());
90 for (
unsigned int e=0; e<nf; e++)
92 libmesh_assert (in.good());
97 libmesh_assert(nv == 2 || nv == 3);
104 libmesh_error_msg(
"Cannot open dimension 2 mesh file when configured without 2D support.");
121 libmesh_error_msg(
"Unsupported nv = " << nv);
127 for (
unsigned int i=0; i<nv; i++)
std::string name(const ElemQuality q)
A 2D triangular element with 3 nodes.
virtual Node *& set_node(const unsigned int i)
The base class for all geometric element types.
virtual Node * add_point(const Point &p, const dof_id_type id=DofObject::invalid_id, const processor_id_type proc_id=DofObject::invalid_processor_id)=0
void read_stream(std::istream &in)
virtual Elem * add_elem(Elem *e)=0
void set_mesh_dimension(unsigned char d)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void read(const std::string &name) override
A 1D geometric element with 2 nodes.
virtual const Node * node_ptr(const dof_id_type i) const =0
A geometric point in (x,y,z) space.