Flow123d  release_2.2.0-33-g759111d
Public Member Functions | Protected Member Functions | Friends | List of all members
OutputMesh Class Reference

Class represents output mesh with continuous elements. More...

#include <output_mesh.hh>

Inheritance diagram for OutputMesh:
Inheritance graph
[legend]
Collaboration diagram for OutputMesh:
Collaboration graph
[legend]

Public Member Functions

 OutputMesh (Mesh &mesh)
 
 OutputMesh (Mesh &mesh, const Input::Record &in_rec)
 
 ~OutputMesh ()
 
void create_identical_mesh ()
 Creates the output mesh identical to the computational one. More...
 
void create_refined_mesh () override
 Creates refined mesh. More...
 
- Public Member Functions inherited from OutputMeshBase
 OutputMeshBase (Mesh &mesh)
 Constructor. Takes computational mesh as a parameter. More...
 
 OutputMeshBase (Mesh &mesh, const Input::Record &in_rec)
 Constructor. Takes computational mesh and input record as a parameters. More...
 
virtual ~OutputMeshBase ()
 
OutputElementIterator begin ()
 Gives iterator to the FIRST element of the output mesh. More...
 
OutputElementIterator end ()
 Gives iterator to the LAST element of the output mesh. More...
 
std::string error_control_field_name ()
 Returns error_control_field_name_. More...
 
unsigned int n_nodes ()
 Returns number of nodes. More...
 
unsigned int n_elements ()
 Returns number of element. More...
 

Protected Member Functions

bool refinement_criterion ()
 

Friends

class OutputMeshDiscontinuous
 Friend provides access to vectors for discontinous output mesh. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from OutputMeshBase
static const Input::Type::Recordget_input_type ()
 The specification of output mesh. More...
 
- Public Attributes inherited from OutputMeshBase
std::shared_ptr< std::vector< unsigned int > > orig_element_indices_
 Vector of element indices in the computational mesh. (Important when refining.) More...
 
std::shared_ptr< ElementDataCache< double > > nodes_
 Vector of node coordinates. [spacedim x n_nodes]. More...
 
std::shared_ptr< ElementDataCache< unsigned int > > connectivity_
 Vector maps the nodes to their coordinates in vector nodes_. More...
 
std::shared_ptr< ElementDataCache< unsigned int > > offsets_
 Vector of offsets of node indices of elements. Maps elements to their nodes in connectivity_. More...
 
- Static Public Attributes inherited from OutputMeshBase
static const unsigned int spacedim = 3
 Shortcut instead of spacedim template. We suppose only spacedim=3 at the moment. More...
 
- Protected Attributes inherited from OutputMeshBase
Input::Record input_record_
 Input record for output mesh. More...
 
Meshorig_mesh_
 Pointer to the computational mesh. More...
 
const unsigned int max_level_
 Maximal level of refinement. More...
 
std::string error_control_field_name_
 Refinement error control field name. More...
 

Detailed Description

Class represents output mesh with continuous elements.

Definition at line 127 of file output_mesh.hh.

Constructor & Destructor Documentation

OutputMesh::OutputMesh ( Mesh mesh)

Definition at line 97 of file output_mesh.cc.

OutputMesh::OutputMesh ( Mesh mesh,
const Input::Record in_rec 
)

Definition at line 102 of file output_mesh.cc.

OutputMesh::~OutputMesh ( )

Definition at line 108 of file output_mesh.cc.

Member Function Documentation

void OutputMesh::create_identical_mesh ( )

Creates the output mesh identical to the computational one.

Definition at line 113 of file output_mesh.cc.

void OutputMesh::create_refined_mesh ( )
overridevirtual

Creates refined mesh.

Implements OutputMeshBase.

Definition at line 169 of file output_mesh.cc.

bool OutputMesh::refinement_criterion ( )
protected

Definition at line 175 of file output_mesh.cc.

Friends And Related Function Documentation

friend class OutputMeshDiscontinuous
friend

Friend provides access to vectors for discontinous output mesh.

Definition at line 144 of file output_mesh.hh.


The documentation for this class was generated from the following files: