![]() |
MoCSI API Reference
|
Concrete implementation of a constant heat flux boundary condition in 1D. More...
#include <BCConstantHeatFlux.h>


Public Member Functions | |
| void | writeBoundaryCondition () override |
| Actual implementation of the boundary condition. | |
| BCConstantHeatFlux (SimulationClassBase< T > *sim, std::vector< int > boundary_points, std::vector< std::vector< int > > connected_points, int facet_nr, T area, std::string face_prefix) | |
| Constructor for a BCConstantHeatFlux object. | |
| ~BCConstantHeatFlux () override=default | |
Public Member Functions inherited from GenericBoundaryCondition< T > | |
| void | registerElementsCsr (GenericMatrix< T > &capacitance_matrix, GenericMatrix< T > &stiffness_matrix) |
| virtual void | getReferenceToElements (GenericMatrix< T > &capacitance_matrix, GenericMatrix< T > &stiffness_matrix, std::valarray< T > &forcing_vector) |
| Sets up a referrence_wrapper vector to the elements within the matrix object. This adds a bit of pre-calculation overhead, but always allows const time element access even for matrix object that don't normally have const time random access. This of course assumes a static grid. | |
| GenericBoundaryCondition (SimulationClassBase< T > *sim, std::vector< int > boundary_points, std::vector< std::vector< int > > connected_points, int facet_nr, std::string face_prefix) | |
| Constructor for a GenericElement object. Sets all parameters that are known at creation. | |
| virtual | ~GenericBoundaryCondition ()=default |
Additional Inherited Members | |
Protected Attributes inherited from GenericBoundaryCondition< T > | |
| SimulationClassBase< T > * | m_sim |
| std::vector< int > | m_boundary_points |
| std::vector< std::vector< int > > | m_connected_points |
| std::vector< std::vector< std::reference_wrapper< T > > > | m_capacitance_matrix_elements {} |
| std::vector< std::vector< std::reference_wrapper< T > > > | m_stiffness_matrix_elements {} |
| std::vector< std::reference_wrapper< T > > | m_forcing_vector_elements {} |
| int | m_facet_number {-1} |
| std::string | m_face_indicator_prefix |
Concrete implementation of a constant heat flux boundary condition in 1D.
| BCConstantHeatFlux< T >::BCConstantHeatFlux | ( | SimulationClassBase< T > * | sim, |
| std::vector< int > | boundary_points, | ||
| std::vector< std::vector< int > > | connected_points, | ||
| int | facet_nr, | ||
| T | area, | ||
| std::string | face_prefix | ||
| ) |
Constructor for a BCConstantHeatFlux object.
| sim | The pointer to the sim class. |
| boundary_points | Vector denoting which of the nodes have that specific boundary condition. |
| connected_points | Vector of vectors denoting which points are connected to the correcsponding boundary point nodes. |
| facet_nr | Designation which facet this boundary condition belongs to, to allow mapping it to a shape model. |
| area | Area of the boundary side. |
|
overridedefault |
|
overridevirtual |
Actual implementation of the boundary condition.
Implements GenericBoundaryCondition< T >.