Flow123d  DF_patch_fe_darcy_complete-579fe1e
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
SourcesAssemblyDG< dim, TEqData > Class Template Reference

#include <assembly_dg.hh>

Inheritance diagram for SourcesAssemblyDG< dim, TEqData >:
Inheritance graph
[legend]
Collaboration diagram for SourcesAssemblyDG< dim, TEqData >:
Collaboration graph
[legend]

Public Types

typedef TEqData::EqFields EqFields
 
typedef TEqData EqData
 

Public Member Functions

 SourcesAssemblyDG (EqData *eq_data, AssemblyInternals *asm_internals)
 Constructor. More...
 
 ~SourcesAssemblyDG ()
 Destructor. More...
 
void initialize ()
 Initialize auxiliary vectors and other data members. More...
 
void cell_integral (DHCellAccessor cell, unsigned int element_patch_idx)
 Assemble integral over element. More...
 
void begin () override
 Implements AssemblyBase::begin. More...
 
void end () override
 Implements AssemblyBase::end. More...
 
- Public Member Functions inherited from AssemblyBasePatch< dim >
 AssemblyBasePatch (unsigned int quad_order, AssemblyInternals *asm_internals)
 
unsigned int n_dofs ()
 Return number of DOFs. More...
 
unsigned int n_dofs_high ()
 Return number of DOFs of higher dim element. 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)
 
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 Attributes

EqFieldseq_fields_
 Data objects shared with TransportDG. More...
 
EqDataeq_data_
 
FieldSet used_fields_
 Sub field set contains fields used in calculation. More...
 
unsigned int ndofs_
 Number of dofs. More...
 
vector< LongIdxdof_indices_
 Vector of global DOF indices. More...
 
vector< PetscScalar > local_rhs_
 Auxiliary vector for set_sources method. More...
 
vector< PetscScalar > local_source_balance_vector_
 Auxiliary vector for set_sources method. More...
 
vector< PetscScalar > local_source_balance_rhs_
 Auxiliary vector for set_sources method. More...
 
std::shared_ptr< BulkIntegralAcc< dim > > conc_integral_
 Bulk integral of assembly class. More...
 
FeQ< ScalarJxW_
 
FeQArray< Scalarconc_shape_
 

Friends

template<template< IntDim... > class DimAssembly>
class GenericAssembly
 

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 TEqData>
class SourcesAssemblyDG< dim, TEqData >

Auxiliary container class for Finite element and related objects of given dimension.

Definition at line 692 of file assembly_dg.hh.

Member Typedef Documentation

◆ EqData

template<unsigned int dim, class TEqData >
typedef TEqData SourcesAssemblyDG< dim, TEqData >::EqData

Definition at line 696 of file assembly_dg.hh.

◆ EqFields

template<unsigned int dim, class TEqData >
typedef TEqData::EqFields SourcesAssemblyDG< dim, TEqData >::EqFields

Definition at line 695 of file assembly_dg.hh.

Constructor & Destructor Documentation

◆ SourcesAssemblyDG()

template<unsigned int dim, class TEqData >
SourcesAssemblyDG< dim, TEqData >::SourcesAssemblyDG ( EqData eq_data,
AssemblyInternals asm_internals 
)
inline

Constructor.

Definition at line 701 of file assembly_dg.hh.

◆ ~SourcesAssemblyDG()

template<unsigned int dim, class TEqData >
SourcesAssemblyDG< dim, TEqData >::~SourcesAssemblyDG ( )
inline

Destructor.

Definition at line 712 of file assembly_dg.hh.

Member Function Documentation

◆ begin()

template<unsigned int dim, class TEqData >
void SourcesAssemblyDG< dim, TEqData >::begin ( )
inlineoverridevirtual

Implements AssemblyBase::begin.

Reimplemented from AssemblyBase< dim >.

Definition at line 766 of file assembly_dg.hh.

◆ cell_integral()

template<unsigned int dim, class TEqData >
void SourcesAssemblyDG< dim, TEqData >::cell_integral ( DHCellAccessor  cell,
unsigned int  element_patch_idx 
)
inline

Assemble integral over element.

Definition at line 725 of file assembly_dg.hh.

◆ end()

template<unsigned int dim, class TEqData >
void SourcesAssemblyDG< dim, TEqData >::end ( )
inlineoverridevirtual

Implements AssemblyBase::end.

Reimplemented from AssemblyBase< dim >.

Definition at line 772 of file assembly_dg.hh.

◆ initialize()

template<unsigned int dim, class TEqData >
void SourcesAssemblyDG< dim, TEqData >::initialize ( )
inline

Initialize auxiliary vectors and other data members.

Definition at line 715 of file assembly_dg.hh.

◆ name()

template<unsigned int dim, class TEqData >
static constexpr const char* SourcesAssemblyDG< dim, TEqData >::name ( )
inlinestaticconstexpr

Definition at line 698 of file assembly_dg.hh.

Friends And Related Function Documentation

◆ GenericAssembly

template<unsigned int dim, class TEqData >
template<template< IntDim... > class DimAssembly>
friend class GenericAssembly
friend

Definition at line 798 of file assembly_dg.hh.

Member Data Documentation

◆ conc_integral_

template<unsigned int dim, class TEqData >
std::shared_ptr<BulkIntegralAcc<dim> > SourcesAssemblyDG< dim, TEqData >::conc_integral_
private

Bulk integral of assembly class.

Definition at line 793 of file assembly_dg.hh.

◆ conc_shape_

template<unsigned int dim, class TEqData >
FeQArray<Scalar> SourcesAssemblyDG< dim, TEqData >::conc_shape_
private

Definition at line 795 of file assembly_dg.hh.

◆ dof_indices_

template<unsigned int dim, class TEqData >
vector<LongIdx> SourcesAssemblyDG< dim, TEqData >::dof_indices_
private

Vector of global DOF indices.

Definition at line 788 of file assembly_dg.hh.

◆ eq_data_

template<unsigned int dim, class TEqData >
EqData* SourcesAssemblyDG< dim, TEqData >::eq_data_
private

Definition at line 781 of file assembly_dg.hh.

◆ eq_fields_

template<unsigned int dim, class TEqData >
EqFields* SourcesAssemblyDG< dim, TEqData >::eq_fields_
private

Data objects shared with TransportDG.

Definition at line 780 of file assembly_dg.hh.

◆ JxW_

template<unsigned int dim, class TEqData >
FeQ<Scalar> SourcesAssemblyDG< dim, TEqData >::JxW_
private

Definition at line 794 of file assembly_dg.hh.

◆ local_rhs_

template<unsigned int dim, class TEqData >
vector<PetscScalar> SourcesAssemblyDG< dim, TEqData >::local_rhs_
private

Auxiliary vector for set_sources method.

Definition at line 789 of file assembly_dg.hh.

◆ local_source_balance_rhs_

template<unsigned int dim, class TEqData >
vector<PetscScalar> SourcesAssemblyDG< dim, TEqData >::local_source_balance_rhs_
private

Auxiliary vector for set_sources method.

Definition at line 791 of file assembly_dg.hh.

◆ local_source_balance_vector_

template<unsigned int dim, class TEqData >
vector<PetscScalar> SourcesAssemblyDG< dim, TEqData >::local_source_balance_vector_
private

Auxiliary vector for set_sources method.

Definition at line 790 of file assembly_dg.hh.

◆ ndofs_

template<unsigned int dim, class TEqData >
unsigned int SourcesAssemblyDG< dim, TEqData >::ndofs_
private

Number of dofs.

Definition at line 786 of file assembly_dg.hh.

◆ used_fields_

template<unsigned int dim, class TEqData >
FieldSet SourcesAssemblyDG< dim, TEqData >::used_fields_
private

Sub field set contains fields used in calculation.

Definition at line 784 of file assembly_dg.hh.


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