![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <mortar_coupling_manager.h>
Public Types | |
| using | FEPointIntegrator = FEPointEvaluation<n_components, dim, dim, Number> |
| using | value_type = typename FEPointIntegrator::value_type |
Public Member Functions | |
| ScalarCouplingEvaluationSIPG (const Mapping< dim > &mapping, const DoFHandler< dim > &dof_handler, const unsigned int first_selected_component=0) | |
| unsigned int | data_size () const override |
| const std::vector< unsigned int > & | get_relevant_dof_indices () const override |
| void | local_reinit (const typename Triangulation< dim >::cell_iterator &cell, const ArrayView< const Point< dim, Number > > &points) const override |
| void | local_evaluate (const CouplingEvaluationData< dim, Number > &data, const Vector< Number > &buffer, const unsigned int ptr_q, const unsigned int q_stride, Number *all_value_m) const override |
| void | local_integrate (const CouplingEvaluationData< dim, Number > &data, Vector< Number > &buffer, const unsigned int ptr_q, const unsigned int q_stride, Number *all_value_m, Number *all_value_p) const override |
| Public Member Functions inherited from CouplingEvaluationBase< dim, Number > | |
| virtual | ~CouplingEvaluationBase ()=default |
Public Attributes | |
| const FESystem< dim > | fe_sub |
| FEPointIntegrator | phi_m |
| std::vector< unsigned int > | relevant_dof_indices |
Definition at line 1044 of file mortar_coupling_manager.h.
| using ScalarCouplingEvaluationSIPG< dim, n_components, Number >::FEPointIntegrator = FEPointEvaluation<n_components, dim, dim, Number> |
Definition at line 1047 of file mortar_coupling_manager.h.
| using ScalarCouplingEvaluationSIPG< dim, n_components, Number >::value_type = typename FEPointIntegrator::value_type |
Definition at line 1048 of file mortar_coupling_manager.h.
| ScalarCouplingEvaluationSIPG< dim, n_components, Number >::ScalarCouplingEvaluationSIPG | ( | const Mapping< dim > & | mapping, |
| const DoFHandler< dim > & | dof_handler, | ||
| const unsigned int | first_selected_component = 0 ) |
Definition at line 1765 of file mortar_coupling_manager.cc.
References fe_sub, phi_m, and relevant_dof_indices.
|
overridevirtual |
Number of data points of type Number associated to a quadrature point.
Implements CouplingEvaluationBase< dim, Number >.
Definition at line 1786 of file mortar_coupling_manager.cc.
|
overridevirtual |
Return relevant dof indices.
Implements CouplingEvaluationBase< dim, Number >.
Definition at line 1793 of file mortar_coupling_manager.cc.
References relevant_dof_indices.
|
overridevirtual |
Evaluate values and gradients at the coupling entries.
| [in] | data | Coupling evaluation data containing values of normals, weights, and penalty parameters at each integration point |
| [in,out] | buffer | Temporary vector where data is stored before being passes to the system matrix |
| [in] | ptr_q | Pointer for the quadrature point index related to the rotor-stator interface |
| [in] | q_stride | Pointer for the cell index in which the quadrature point lies in |
| [in] | all_value_m | Number of values stored in the mortar side of the interface |
Implements CouplingEvaluationBase< dim, Number >.
Definition at line 1810 of file mortar_coupling_manager.cc.
References CouplingEvaluationData< dim, Number >::all_normals, contract(), phi_m, and BufferRW< T >::write().
|
overridevirtual |
Perform integral of mortar elements at the rotor-stator interface.
| [in] | data | Coupling evaluation data containing values of normals, weights, and penalty parameters at each integration point |
| [in] | buffer | Temporary vector where data is stored before being passes to the system matrix |
| [in] | ptr_q | Pointer for the quadrature point index related to the rotor-stator interface |
| [in] | q_stride | Pointer for the cell index in which the quadrature point lies in |
| [in] | all_value_m | Number of values stored in the mortar side of the interface |
| [in] | all_value_p | Number of values stored in the non-mortar side of the interface |
Notation referring to quantities on both mortar sides: {{.}} = avg(.), and [.] = jump(.) *
Implements CouplingEvaluationBase< dim, Number >.
Definition at line 1842 of file mortar_coupling_manager.cc.
References CouplingEvaluationData< dim, Number >::all_normals, CouplingEvaluationData< dim, Number >::all_penalty_parameter, CouplingEvaluationData< dim, Number >::all_weights, contract(), outer(), CouplingEvaluationData< dim, Number >::penalty_factor, and phi_m.
|
overridevirtual |
Set up mapping information.
| [in] | cell | Cell iterator |
| [in] | points | List of points where FEPointIntegrator should be evaluated |
Implements CouplingEvaluationBase< dim, Number >.
Definition at line 1801 of file mortar_coupling_manager.cc.
References phi_m.
| const FESystem<dim> ScalarCouplingEvaluationSIPG< dim, n_components, Number >::fe_sub |
Finite element that matches the components n_components components starting at component with index first_selected_component
Definition at line 1082 of file mortar_coupling_manager.h.
|
mutable |
Interface to the evaluation of mortar coupling interpolated solution.
Definition at line 1085 of file mortar_coupling_manager.h.
| std::vector<unsigned int> ScalarCouplingEvaluationSIPG< dim, n_components, Number >::relevant_dof_indices |
Relevant dof indices.
Definition at line 1088 of file mortar_coupling_manager.h.