Flow123d  release_2.1.2-337-g6b7a56b
Public Member Functions | Protected Member Functions | List of all members
OutputMeshDiscontinuous Class Reference

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

#include <output_mesh.hh>

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

Public Member Functions

 OutputMeshDiscontinuous (Mesh &mesh)
 
 OutputMeshDiscontinuous (Mesh &mesh, const Input::Record &in_rec)
 
 ~OutputMeshDiscontinuous ()
 
void create_mesh (std::shared_ptr< OutputMesh > output_mesh)
 Creates output mesh from the given continuous one. More...
 
void create_refined_mesh () override
 Creates discontinuous 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 ()
 

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 discontinuous elements.

Definition at line 149 of file output_mesh.hh.

Constructor & Destructor Documentation

OutputMeshDiscontinuous::OutputMeshDiscontinuous ( Mesh mesh)

Definition at line 185 of file output_mesh.cc.

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

Definition at line 190 of file output_mesh.cc.

OutputMeshDiscontinuous::~OutputMeshDiscontinuous ( )

Definition at line 196 of file output_mesh.cc.

Member Function Documentation

void OutputMeshDiscontinuous::create_mesh ( std::shared_ptr< OutputMesh output_mesh)

Creates output mesh from the given continuous one.

Definition at line 201 of file output_mesh.cc.

void OutputMeshDiscontinuous::create_refined_mesh ( )
overridevirtual

Creates discontinuous refined mesh.

Implements OutputMeshBase.

Definition at line 252 of file output_mesh.cc.

bool OutputMeshDiscontinuous::refinement_criterion ( )
protected

Definition at line 257 of file output_mesh.cc.


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