![]() |
MoCSI API Reference
|
#include <memory>#include <string>#include "BCConstantHeatFlux.h"#include "BCSinusoidalTemperature.h"#include "BCTopSurfaceEnergyBalance.h"#include "GenericBoundaryCondition.h"#include "SimulationClassBase.h"

Go to the source code of this file.
Functions | |
| template<typename T > | |
| std::unique_ptr< GenericBoundaryCondition< T > > | createBoundaryCondition (std::string_view key, SimulationClassBase< T > *sim, std::vector< int > boundary_points, std::vector< std::vector< int > > connected_points, int facet_nr, T area, std::string face_prefix) |
| Registry function for the boundary conditions. | |
| std::unique_ptr< GenericBoundaryCondition< T > > createBoundaryCondition | ( | std::string_view | key, |
| SimulationClassBase< T > * | sim, | ||
| std::vector< int > | boundary_points, | ||
| std::vector< std::vector< int > > | connected_points, | ||
| int | facet_nr, | ||
| T | area, | ||
| std::string | face_prefix | ||
| ) |
Registry function for the boundary conditions.
| key | The name of the boundary condition to create. |
| 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. |