Flow123d  master-f44eb46
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AssemblyOutputBase< dim > Class Template Reference

#include <assembly_output.hh>

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

Public Types

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

 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...
 
virtual void assemble_cell_integrals (const RevertableList< BulkIntegralData > &bulk_integral_data)
 Assembles the cell integrals for the given 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...
 

Protected Member Functions

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

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 AssemblyOutputBase< dim >

Common ancestor of AssemblyOutputElemData and AssemblyOutputNodeData class.

Definition at line 40 of file assembly_output.hh.

Member Typedef Documentation

◆ EqData

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

Definition at line 44 of file assembly_output.hh.

◆ EqFields

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

Definition at line 43 of file assembly_output.hh.

Constructor & Destructor Documentation

◆ AssemblyOutputBase() [1/2]

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

Constructor.

Definition at line 47 of file assembly_output.hh.

◆ AssemblyOutputBase() [2/2]

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

Constructor.

Definition at line 54 of file assembly_output.hh.

Member Function Documentation

◆ end()

template<unsigned int dim>
void AssemblyOutputBase< dim >::end ( )
inlineoverridevirtual

Implements AssemblyBase::end.

Reimplemented from AssemblyBase< dim >.

Definition at line 73 of file assembly_output.hh.

◆ initialize()

template<unsigned int dim>
void AssemblyOutputBase< dim >::initialize ( ElementCacheMap element_cache_map)
inline

Initialize auxiliary vectors and other data members.

Definition at line 61 of file assembly_output.hh.

◆ reset_offsets()

template<unsigned int dim>
void AssemblyOutputBase< dim >::reset_offsets ( )
inlineprotected

Definition at line 82 of file assembly_output.hh.

Here is the caller graph for this function:

◆ set_output_data()

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

Sets output data members.

Definition at line 66 of file assembly_output.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ eq_data_

template<unsigned int dim>
EqData* AssemblyOutputBase< dim >::eq_data_
protected

Definition at line 88 of file assembly_output.hh.

◆ eq_fields_

template<unsigned int dim>
EqFields* AssemblyOutputBase< dim >::eq_fields_
protected

Data objects shared with EquationOutput.

Definition at line 87 of file assembly_output.hh.

◆ offsets_

template<unsigned int dim>
std::vector<int> AssemblyOutputBase< dim >::offsets_
protected

Holds indices (offsets) of cached data to output data vector.

Definition at line 92 of file assembly_output.hh.

◆ stream_

template<unsigned int dim>
std::shared_ptr<OutputTime> AssemblyOutputBase< dim >::stream_
protected

Output stream.

Definition at line 91 of file assembly_output.hh.

◆ used_fields_

template<unsigned int dim>
FieldSet AssemblyOutputBase< dim >::used_fields_
protected

Sub field set contains fields performed to output.

Definition at line 90 of file assembly_output.hh.


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