| 
    libMesh
    
   | 
 
This class is responsible for reading an unstructured, triangulated surface in the standard OFF OOGL format. More...
#include <off_io.h>
Public Member Functions | |
| OFFIO (MeshBase &) | |
| Constructor.  More... | |
| virtual void | read (const std::string &name) override | 
| Reads in an OFF OOGL data file based on the string you pass it.  More... | |
Protected Member Functions | |
| MeshBase & | mesh () | 
| void | set_n_partitions (unsigned int n_parts) | 
| Sets the number of partitions in the mesh.  More... | |
| void | skip_comment_lines (std::istream &in, const char comment_start) | 
Reads input from in, skipping all the lines that start with the character comment_start.  More... | |
Protected Attributes | |
| std::vector< bool > | elems_of_dimension | 
| A vector of bools describing what dimension elements have been encountered when reading a mesh.  More... | |
Private Member Functions | |
| void | read_stream (std::istream &in) | 
| Implementation of the read() function.  More... | |
Private Attributes | |
| MeshBase * | _obj | 
| A pointer to a non-const object object.  More... | |
| const bool | _is_parallel_format | 
| Flag specifying whether this format is parallel-capable.  More... | |
This class is responsible for reading an unstructured, triangulated surface in the standard OFF OOGL format.
Reads OOF OOGL triangulated surface files.
      
  | 
  inlineexplicit | 
      
  | 
  inlineprotectedinherited | 
Definition at line 169 of file mesh_input.h.
      
  | 
  overridevirtual | 
Reads in an OFF OOGL data file based on the string you pass it.
Implements libMesh::MeshInput< MeshBase >.
Definition at line 35 of file off_io.C.
References libMesh::Quality::name(), and read_stream().
Referenced by libMesh::NameBasedIO::read().
      
  | 
  private | 
Implementation of the read() function.
This function is called by the public interface function and implements reading the file.
Definition at line 44 of file off_io.C.
References libMesh::MeshBase::add_elem(), libMesh::MeshBase::add_point(), libMesh::MeshBase::clear(), libMesh::libmesh_assert(), libMesh::MeshInput< MT >::mesh(), libMesh::MeshInput< MeshBase >::mesh(), libMesh::MeshBase::node_ptr(), libMesh::Real, libMesh::DofObject::set_id(), libMesh::MeshBase::set_mesh_dimension(), and libMesh::Elem::set_node().
Referenced by read().
      
  | 
  inlineprotectedinherited | 
Sets the number of partitions in the mesh.
Typically this gets done by the partitioner, but some parallel file formats begin "pre-partitioned".
Definition at line 91 of file mesh_input.h.
      
  | 
  protectedinherited | 
Reads input from in, skipping all the lines that start with the character comment_start. 
Definition at line 179 of file mesh_input.h.
      
  | 
  privateinherited | 
Flag specifying whether this format is parallel-capable.
If this is false (default) I/O is only permitted when the mesh has been serialized.
Definition at line 121 of file mesh_input.h.
      
  | 
  privateinherited | 
A pointer to a non-const object object.
This allows us to read the object from file.
Definition at line 114 of file mesh_input.h.
      
  | 
  protectedinherited | 
A vector of bools describing what dimension elements have been encountered when reading a mesh.
Definition at line 97 of file mesh_input.h.
 1.8.16