Flow123d  3.9.0-c2ae2d0a8
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
AssemblyOutputNodeData< dim > Class Template Reference

#include <assembly_output.hh>

Inheritance diagram for AssemblyOutputNodeData< dim >:
Inheritance graph
[legend]
Collaboration diagram for AssemblyOutputNodeData< dim >:
Collaboration graph
[legend]

Public Types

typedef EquationOutput EqFields
 
typedef EquationOutput EqData
 
typedef GenericAssemblyBase::BulkIntegralData BulkIntegralData
 
- Public Types inherited from AssemblyOutputBase< dim >
typedef EquationOutput EqFields
 
typedef EquationOutput EqData
 
- Public Types inherited from AssemblyBase< dim >
typedef GenericAssemblyBase::BulkIntegralData BulkIntegralData
 
typedef GenericAssemblyBase::EdgeIntegralData EdgeIntegralData
 
typedef GenericAssemblyBase::CouplingIntegralData CouplingIntegralData
 
typedef GenericAssemblyBase::BoundaryIntegralData BoundaryIntegralData
 

Public Member Functions

 AssemblyOutputNodeData (EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
 ~AssemblyOutputNodeData ()
 Destructor. More...
 
void set_output_data (const FieldSet &used, std::shared_ptr< OutputTime > stream)
 Sets output data members. More...
 
void assemble_cell_integrals (const RevertableList< BulkIntegralData > &bulk_integral_data)
 Assembles the cell integrals for the given dimension. More...
 
- Public Member Functions inherited from AssemblyOutputBase< dim >
 AssemblyOutputBase (unsigned int quad_order, EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
 AssemblyOutputBase (EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
void initialize (ElementCacheMap *element_cache_map)
 Initialize auxiliary vectors and other data members. More...
 
void set_output_data (const FieldSet &used, std::shared_ptr< OutputTime > stream)
 Sets output data members. More...
 
void end () override
 Implements AssemblyBase::end. More...
 
- Public Member Functions inherited from AssemblyBase< dim >
 AssemblyBase (unsigned int quad_order)
 Constructor. More...
 
virtual ~AssemblyBase ()
 Destructor. More...
 
virtual void cell_integral (FMT_UNUSED DHCellAccessor cell, FMT_UNUSED unsigned int element_patch_idx)
 Assembles the volume integrals on cell. More...
 
virtual void boundary_side_integral (FMT_UNUSED DHCellSide cell_side)
 Assembles the fluxes on the boundary. More...
 
virtual void edge_integral (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range)
 Assembles the fluxes between sides on the edge. More...
 
virtual void dimjoin_intergral (FMT_UNUSED DHCellAccessor cell_lower_dim, FMT_UNUSED DHCellSide neighb_side)
 Assembles the fluxes between elements of different dimensions. More...
 
virtual void begin ()
 Method prepares object before assemblation (e.g. balance, ...). More...
 
int n_active_integrals () const
 Getter of active_integrals. More...
 
void create_integrals (std::shared_ptr< EvalPoints > eval_points, AssemblyIntegrals &integrals)
 Create integrals according to dim of assembly object. More...
 
Range< BulkPointbulk_points (unsigned int element_patch_idx) const
 Return BulkPoint range of appropriate dimension. More...
 
Range< EdgePointedge_points (const DHCellSide &cell_side) const
 Return EdgePoint range of appropriate dimension. More...
 
Range< CouplingPointcoupling_points (const DHCellSide &cell_side) const
 Return CouplingPoint range of appropriate dimension. More...
 
Range< BoundaryPointboundary_points (const DHCellSide &cell_side) const
 Return BoundaryPoint range of appropriate dimension. More...
 
void assemble_boundary_side_integrals (const RevertableList< BoundaryIntegralData > &boundary_integral_data)
 Assembles the boundary side integrals for the given dimension. More...
 
void assemble_edge_integrals (const RevertableList< EdgeIntegralData > &edge_integral_data)
 Assembles the edge integrals for the given dimension. More...
 
void assemble_neighbour_integrals (const RevertableList< CouplingIntegralData > &coupling_integral_data)
 Assembles the neighbours integrals for the given dimension. More...
 

Static Public Member Functions

static constexpr const char * name ()
 

Private Attributes

std::shared_ptr< std::vector< unsigned int > > offset_vec_
 Holds offsets of individual local elements. More...
 

Friends

template<template< IntDim... > class DimAssembly>
class GenericAssembly
 

Additional Inherited Members

- Protected Member Functions inherited from AssemblyOutputBase< dim >
void reset_offsets ()
 
- Protected Member Functions inherited from AssemblyBase< dim >
 AssemblyBase ()
 
std::string print_update_flags (UpdateFlags u) const
 Print update flags to string format. More...
 
- Protected Attributes inherited from AssemblyOutputBase< dim >
EqFieldseq_fields_
 Data objects shared with EquationOutput. More...
 
EqDataeq_data_
 
FieldSet used_fields_
 Sub field set contains fields performed to output. More...
 
std::shared_ptr< OutputTimestream_
 Output stream. More...
 
std::vector< int > offsets_
 Holds indices (offsets) of cached data to output data vector. More...
 
- Protected Attributes inherited from AssemblyBase< dim >
Quadraturequad_
 Quadrature used in assembling methods. More...
 
Quadraturequad_low_
 Quadrature used in assembling methods (dim-1). More...
 
int active_integrals_
 Holds mask of active integrals. More...
 
DimIntegrals integrals_
 Set of used integrals. More...
 
ElementCacheMapelement_cache_map_
 ElementCacheMap shared with GenericAssembly object. More...
 

Detailed Description

template<unsigned int dim>
class AssemblyOutputNodeData< dim >

Auxiliary container class for Finite element and related objects of given dimension.

Definition at line 142 of file assembly_output.hh.

Member Typedef Documentation

◆ BulkIntegralData

Definition at line 147 of file assembly_output.hh.

◆ EqData

template<unsigned int dim>
typedef EquationOutput AssemblyOutputNodeData< dim >::EqData

Definition at line 146 of file assembly_output.hh.

◆ EqFields

template<unsigned int dim>
typedef EquationOutput AssemblyOutputNodeData< dim >::EqFields

Definition at line 145 of file assembly_output.hh.

Constructor & Destructor Documentation

◆ AssemblyOutputNodeData()

template<unsigned int dim>
AssemblyOutputNodeData< dim >::AssemblyOutputNodeData ( EqFields eq_fields,
EqData eq_data 
)
inline

Constructor.

Definition at line 152 of file assembly_output.hh.

◆ ~AssemblyOutputNodeData()

template<unsigned int dim>
AssemblyOutputNodeData< dim >::~AssemblyOutputNodeData ( )
inline

Destructor.

Definition at line 163 of file assembly_output.hh.

Member Function Documentation

◆ assemble_cell_integrals()

template<unsigned int dim>
void AssemblyOutputNodeData< dim >::assemble_cell_integrals ( const RevertableList< BulkIntegralData > &  bulk_integral_data)
inlinevirtual

Assembles the cell integrals for the given dimension.

Reimplemented from AssemblyBase< dim >.

Definition at line 173 of file assembly_output.hh.

◆ name()

template<unsigned int dim>
static constexpr const char* AssemblyOutputNodeData< dim >::name ( )
inlinestaticconstexpr

Definition at line 149 of file assembly_output.hh.

◆ set_output_data()

template<unsigned int dim>
void AssemblyOutputNodeData< dim >::set_output_data ( const FieldSet used,
std::shared_ptr< OutputTime stream 
)
inline

Sets output data members.

Definition at line 166 of file assembly_output.hh.

Friends And Related Function Documentation

◆ GenericAssembly

template<unsigned int dim>
template<template< IntDim... > class DimAssembly>
friend class GenericAssembly
friend

Definition at line 195 of file assembly_output.hh.

Member Data Documentation

◆ offset_vec_

template<unsigned int dim>
std::shared_ptr< std::vector<unsigned int> > AssemblyOutputNodeData< dim >::offset_vec_
private

Holds offsets of individual local elements.

Definition at line 192 of file assembly_output.hh.


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