Flow123d  DF_patch_fe_darcy_complete-579fe1e
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 Member Functions

 AssemblyObserveOutput (EqFields *eq_fields, const std::unordered_set< string > &observe_fields_list, Observe *observe, AssemblyInternals *asm_internals)
 Constructor. More...
 
 ~AssemblyObserveOutput ()
 Destructor. More...
 
void initialize ()
 Initialize auxiliary vectors and other data members. More...
 
void assemble_cell_integrals (RevertableList< BulkIntegralData > &bulk_integral_data)
 Assembles the cell integrals for the given dimension. More...
 
void create_observe_integrals (std::array< std::shared_ptr< BulkIntegral >, 3 > &integrals)
 Create bulk integral according to dim. More...
 
- Public Member Functions inherited from AssemblyBase< dim >
 AssemblyBase (unsigned int quad_order, AssemblyInternals *asm_internals)
 
virtual ~AssemblyBase ()
 Destructor. More...
 
virtual void cell_integral (FMT_UNUSED DHCellAccessor cell, FMT_UNUSED unsigned int element_patch_idx)
 
virtual void boundary_side_integral (FMT_UNUSED DHCellSide cell_side)
 
virtual void edge_integral (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range)
 
virtual void dimjoin_intergral (FMT_UNUSED DHCellAccessor cell_lower_dim, FMT_UNUSED DHCellSide neighb_side)
 
virtual void begin ()
 
virtual void end ()
 
std::shared_ptr< BulkIntegralAcc< dim > > create_bulk_integral (Quadrature *quad)
 
std::shared_ptr< EdgeIntegralAcc< dim > > create_edge_integral (Quadrature *quad)
 
std::shared_ptr< CouplingIntegralAcc< dim > > create_coupling_integral (Quadrature *quad)
 
std::shared_ptr< BoundaryIntegralAcc< dim > > create_boundary_integral (Quadrature *quad)
 
bool add_integrals_of_computing_step (DHCellAccessor cell)
 
virtual void assemble_cell_integrals ()
 
void assemble_boundary_side_integrals ()
 
void assemble_edge_integrals ()
 
void assemble_neighbour_integrals ()
 
void set_min_edge_sides (unsigned int val)
 Setter of min_edge_sides_. More...
 
void clean_integral_data ()
 
const DimIntegrals< dim > & integrals () const
 Getter of integrals_. More...
 
const IntegralDataintegral_data () const
 Getter of integral_data_. 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...
 
std::shared_ptr< BulkIntegralAcc< dim > > bulk_integral_
 Accessor of integral. More...
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from AssemblyBase< dim >
 AssemblyBase ()
 
void add_volume_integrals (const DHCellAccessor &cell)
 
void add_edge_integrals (const DHCellSide &cell_side)
 
void add_boundary_integrals (const DHCellSide &bdr_side)
 
void add_coupling_integrals (const DHCellAccessor &cell)
 
template<template< unsigned int > class IntegralAcc>
void add_side_points (std::shared_ptr< IntegralAcc< dim > > &integral, DHCellSide cell_side, PatchPointValues< 3 > &ppv)
 
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...
 
DimIntegrals< dim > integrals_
 Set of used integrals. More...
 
AssemblyInternalsasm_internals_
 Holds shared internals data with GeneriAssembly. More...
 
unsigned int min_edge_sides_
 
IntegralData integral_data_
 Holds patch data for computing different types of integrals. More...
 

Detailed Description

template<unsigned int dim>
class AssemblyObserveOutput< dim >

Definition at line 113 of file assembly_observe.hh.

Member Typedef Documentation

◆ EqFields

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

Definition at line 116 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,
AssemblyInternals asm_internals 
)
inline

Constructor.

Definition at line 121 of file assembly_observe.hh.

◆ ~AssemblyObserveOutput()

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

Destructor.

Definition at line 133 of file assembly_observe.hh.

Member Function Documentation

◆ assemble_cell_integrals()

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

Assembles the cell integrals for the given dimension.

Definition at line 139 of file assembly_observe.hh.

◆ create_observe_integrals()

template<unsigned int dim>
void AssemblyObserveOutput< dim >::create_observe_integrals ( std::array< std::shared_ptr< BulkIntegral >, 3 > &  integrals)
inline

Create bulk integral according to dim.

Definition at line 157 of file assembly_observe.hh.

◆ initialize()

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

Initialize auxiliary vectors and other data members.

Definition at line 136 of file assembly_observe.hh.

◆ name()

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

Definition at line 118 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 198 of file assembly_observe.hh.

Member Data Documentation

◆ bulk_integral_

template<unsigned int dim>
std::shared_ptr<BulkIntegralAcc<dim> > AssemblyObserveOutput< dim >::bulk_integral_
private

Accessor of integral.

Definition at line 195 of file assembly_observe.hh.

◆ 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: