Flow123d  DF_patch_fe_data_tables-65e7202
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
AssemblyObserveOutput< dim > Class Template Reference

#include <assembly_observe.hh>

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

Public Types

typedef EquationOutput EqFields
 
- 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

 AssemblyObserveOutput (EqFields *eq_fields, const std::unordered_set< string > &observe_fields_list, Observe *observe)
 Constructor. More...
 
 ~AssemblyObserveOutput ()
 Destructor. More...
 
void initialize (ElementCacheMap *element_cache_map)
 Initialize auxiliary vectors and other data members. More...
 
void assemble_cell_integrals (const RevertableList< GenericAssemblyBase::BulkIntegralData > &bulk_integral_data)
 Assembles the cell integrals for the given dimension. More...
 
void create_observe_integrals (std::shared_ptr< EvalPoints > eval_points, AssemblyIntegrals &integrals)
 Create bulk integral according to dim. 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...
 
virtual void end ()
 Method finishes object after assemblation (e.g. balance, ...). More...
 
virtual void patch_reinit (FMT_UNUSED std::array< PatchElementsList, 4 > &patch_elements)
 
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...
 
virtual void add_patch_bulk_points (FMT_UNUSED const RevertableList< BulkIntegralData > &bulk_integral_data)
 Register cell points of volume integral. More...
 
virtual void add_patch_bdr_side_points (FMT_UNUSED const RevertableList< BoundaryIntegralData > &boundary_integral_data)
 Register side points of boundary side integral. More...
 
virtual void add_patch_edge_points (FMT_UNUSED const RevertableList< EdgeIntegralData > &edge_integral_data)
 Register side points of edge integral. More...
 
virtual void add_patch_coupling_integrals (FMT_UNUSED const RevertableList< CouplingIntegralData > &coupling_integral_data)
 Register bulk and side points of coupling integral. More...
 

Static Public Member Functions

static constexpr const char * name ()
 

Private Member Functions

void reset_offsets ()
 

Private Attributes

EqFieldseq_fields_
 Data objects shared with EquationOutput. More...
 
Observeobserve_
 
FieldSet used_fields_
 Sub field set contains fields performed to output. More...
 
std::vector< int > offsets_
 Holds indices (offsets) of cached data to output data vector. More...
 

Friends

template<template< IntDim... > class DimAssembly>
class GenericAssemblyObserve
 

Additional Inherited Members

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

Definition at line 112 of file assembly_observe.hh.

Member Typedef Documentation

◆ EqFields

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

Definition at line 115 of file assembly_observe.hh.

Constructor & Destructor Documentation

◆ AssemblyObserveOutput()

template<unsigned int dim>
AssemblyObserveOutput< dim >::AssemblyObserveOutput ( EqFields eq_fields,
const std::unordered_set< string > &  observe_fields_list,
Observe observe 
)
inline

Constructor.

Definition at line 120 of file assembly_observe.hh.

◆ ~AssemblyObserveOutput()

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

Destructor.

Definition at line 132 of file assembly_observe.hh.

Member Function Documentation

◆ assemble_cell_integrals()

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

Assembles the cell integrals for the given dimension.

Reimplemented from AssemblyBase< dim >.

Definition at line 140 of file assembly_observe.hh.

◆ create_observe_integrals()

template<unsigned int dim>
void AssemblyObserveOutput< dim >::create_observe_integrals ( std::shared_ptr< EvalPoints eval_points,
AssemblyIntegrals integrals 
)
inline

Create bulk integral according to dim.

Definition at line 158 of file assembly_observe.hh.

◆ initialize()

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

Initialize auxiliary vectors and other data members.

Definition at line 135 of file assembly_observe.hh.

◆ name()

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

Definition at line 117 of file assembly_observe.hh.

◆ reset_offsets()

template<unsigned int dim>
void AssemblyObserveOutput< dim >::reset_offsets ( )
inlineprivate

Definition at line 184 of file assembly_observe.hh.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ GenericAssemblyObserve

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

Definition at line 197 of file assembly_observe.hh.

Member Data Documentation

◆ eq_fields_

template<unsigned int dim>
EqFields* AssemblyObserveOutput< dim >::eq_fields_
private

Data objects shared with EquationOutput.

Definition at line 189 of file assembly_observe.hh.

◆ observe_

template<unsigned int dim>
Observe* AssemblyObserveOutput< dim >::observe_
private

Definition at line 190 of file assembly_observe.hh.

◆ offsets_

template<unsigned int dim>
std::vector<int> AssemblyObserveOutput< dim >::offsets_
private

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

Definition at line 193 of file assembly_observe.hh.

◆ used_fields_

template<unsigned int dim>
FieldSet AssemblyObserveOutput< dim >::used_fields_
private

Sub field set contains fields performed to output.

Definition at line 192 of file assembly_observe.hh.


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