Flow123d  DF_mechanic_bench-71cc9cb
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GenericAssemblyObserve< DimAssembly > Class Template Reference

Generic class of observe output assemblation. More...

#include <assembly_observe.hh>

Inheritance diagram for GenericAssemblyObserve< DimAssembly >:
Inheritance graph
[legend]
Collaboration diagram for GenericAssemblyObserve< DimAssembly >:
Collaboration graph
[legend]

Public Member Functions

 GenericAssemblyObserve (typename DimAssembly< 1 >::EqFields *eq_fields, const std::unordered_set< string > &observe_fields_list, std::shared_ptr< Observe > observe)
 Constructor. More...
 
MixedPtr< DimAssembly, 1 > multidim_assembly () const
 Getter to set of assembly objects. More...
 
void assemble (std::shared_ptr< DOFHandlerMultiDim > dh) override
 General assemble methods. More...
 
- Public Member Functions inherited from GenericAssemblyBase
 GenericAssemblyBase ()
 
virtual ~GenericAssemblyBase ()
 
std::shared_ptr< EvalPointseval_points () const
 Getter to EvalPoints object. More...
 

Private Member Functions

void reallocate_cache ()
 Calls cache_reallocate method on set of used fields. More...
 

Private Attributes

MixedPtr< DimAssembly, 1 > multidim_assembly_
 Assembly object. More...
 
std::shared_ptr< Observeobserve_
 Shared Observe object. More...
 
RevertableList< BulkIntegralDatabulk_integral_data_
 Holds data for computing bulk integrals. More...
 

Additional Inherited Members

- Protected Attributes inherited from GenericAssemblyBase
AssemblyIntegrals integrals_
 Holds integral objects. More...
 
std::shared_ptr< EvalPointseval_points_
 EvalPoints object shared by all integrals. More...
 
ElementCacheMap element_cache_map_
 ElementCacheMap according to EvalPoints. More...
 

Detailed Description

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

Generic class of observe output assemblation.

Class

Definition at line 40 of file assembly_observe.hh.

Constructor & Destructor Documentation

◆ GenericAssemblyObserve()

template<template< IntDim... > class DimAssembly>
GenericAssemblyObserve< DimAssembly >::GenericAssemblyObserve ( typename DimAssembly< 1 >::EqFields *  eq_fields,
const std::unordered_set< string > &  observe_fields_list,
std::shared_ptr< Observe observe 
)
inline

Constructor.

Definition at line 44 of file assembly_observe.hh.

Member Function Documentation

◆ assemble()

template<template< IntDim... > class DimAssembly>
void GenericAssemblyObserve< DimAssembly >::assemble ( std::shared_ptr< DOFHandlerMultiDim dh)
inlineoverridevirtual

General assemble methods.

Loops through local cells and calls assemble methods of assembly object of each cells over space dimension.

Implements GenericAssemblyBase.

Definition at line 69 of file assembly_observe.hh.

Here is the caller graph for this function:

◆ multidim_assembly()

template<template< IntDim... > class DimAssembly>
MixedPtr<DimAssembly, 1> GenericAssemblyObserve< DimAssembly >::multidim_assembly ( ) const
inline

Getter to set of assembly objects.

Definition at line 59 of file assembly_observe.hh.

◆ reallocate_cache()

template<template< IntDim... > class DimAssembly>
void GenericAssemblyObserve< DimAssembly >::reallocate_cache ( )
inlineprivate

Calls cache_reallocate method on set of used fields.

Definition at line 100 of file assembly_observe.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ bulk_integral_data_

template<template< IntDim... > class DimAssembly>
RevertableList<BulkIntegralData> GenericAssemblyObserve< DimAssembly >::bulk_integral_data_
private

Holds data for computing bulk integrals.

Definition at line 107 of file assembly_observe.hh.

◆ multidim_assembly_

template<template< IntDim... > class DimAssembly>
MixedPtr<DimAssembly, 1> GenericAssemblyObserve< DimAssembly >::multidim_assembly_
private

Assembly object.

Definition at line 105 of file assembly_observe.hh.

◆ observe_

template<template< IntDim... > class DimAssembly>
std::shared_ptr<Observe> GenericAssemblyObserve< DimAssembly >::observe_
private

Shared Observe object.

Definition at line 106 of file assembly_observe.hh.


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