Flow123d
last_with_con_2.0.0-663-gd0e2296
|
#include <output_mesh.hh>
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 () |
Creates discontinuous refined mesh. More... | |
Public Member Functions inherited from OutputMeshBase | |
DECLARE_EXCEPTION (ExcFieldNotScalar,<< "Field '"<< FieldCommon::EI_Field::qval<< "' is not scalar in spacedim 3.") | |
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... | |
void | select_error_control_field (FieldSet &output_fields) |
Selects the error control field out of output field set according to input record. 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::Record & | get_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< MeshData< double > > | nodes_ |
Vector of node coordinates. [spacedim x n_nodes]. More... | |
std::shared_ptr< MeshData< unsigned int > > | connectivity_ |
Vector maps the nodes to their coordinates in vector nodes_ . More... | |
std::shared_ptr< MeshData< 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... | |
Mesh * | orig_mesh_ |
Pointer to the computational mesh. More... | |
const unsigned int | max_level_ |
Maximal level of refinement. More... | |
Field< 3, FieldValue< 3 >::Scalar > * | error_control_field_ |
Refinement error control field. More... | |
Definition at line 133 of file output_mesh.hh.
OutputMeshDiscontinuous::OutputMeshDiscontinuous | ( | Mesh & | mesh | ) |
Definition at line 207 of file output_mesh.cc.
OutputMeshDiscontinuous::OutputMeshDiscontinuous | ( | Mesh & | mesh, |
const Input::Record & | in_rec | ||
) |
Definition at line 212 of file output_mesh.cc.
OutputMeshDiscontinuous::~OutputMeshDiscontinuous | ( | ) |
Definition at line 218 of file output_mesh.cc.
void OutputMeshDiscontinuous::create_mesh | ( | std::shared_ptr< OutputMesh > | output_mesh | ) |
Creates output mesh from the given continuous one.
Definition at line 223 of file output_mesh.cc.
void OutputMeshDiscontinuous::create_refined_mesh | ( | ) |
Creates discontinuous refined mesh.
Definition at line 271 of file output_mesh.cc.
|
protected |
Definition at line 276 of file output_mesh.cc.