Flow123d  DF_patch_fe_values-6107f41
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 ()
 
 GenericAssemblyBase (MixedPtr< FiniteElement > fe)
 
virtual ~GenericAssemblyBase ()
 
std::shared_ptr< EvalPoints > eval_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

std::array< std::shared_ptr< BulkIntegral >, 3 > bulk_integrals_
 Bulk integrals of elements of dimensions 1, 2, 3. More...
 
MixedPtr< DimAssembly, 1 > multidim_assembly_
 Assembly object. More...
 
std::shared_ptr< Observe > observe_
 Shared Observe object. More...
 
RevertableList< ObserveIntegralData > patch_data_
 Holds data for computing bulk integrals. More...
 

Additional Inherited Members

- Protected Attributes inherited from GenericAssemblyBase
AssemblyInternals asm_internals_
 Holds shared internals data. More...
 

Detailed Description

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

Generic class of observe output assemblation.

Class

Definition at line 62 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 66 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 91 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 81 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 122 of file assembly_observe.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ bulk_integrals_

template<template< IntDim... > class DimAssembly>
std::array<std::shared_ptr<BulkIntegral>, 3> GenericAssemblyObserve< DimAssembly >::bulk_integrals_
private

Bulk integrals of elements of dimensions 1, 2, 3.

Definition at line 127 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 128 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 129 of file assembly_observe.hh.

◆ patch_data_

template<template< IntDim... > class DimAssembly>
RevertableList<ObserveIntegralData> GenericAssemblyObserve< DimAssembly >::patch_data_
private

Holds data for computing bulk integrals.

Definition at line 130 of file assembly_observe.hh.


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