OGS
HeatTransportBHELocalAssemblerSoil.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <vector>
14
23#include "SecondaryData.h"
24
25namespace ProcessLib
26{
27namespace HeatTransportBHE
28{
29template <typename ShapeFunction>
32{
33public:
35 ShapeMatrixPolicyType<ShapeFunction, 3 /* GlobalDim */>;
39
43
47 delete;
48
50 MeshLib::Element const& e,
51 NumLib::GenericIntegrationMethod const& integration_method,
52 bool const is_axially_symmetric,
53 HeatTransportBHEProcessData& process_data);
54
55 void assemble(double const /*t*/, double const /*dt*/,
56 std::vector<double> const& /*local_x*/,
57 std::vector<double> const& /*local_x_prev*/,
58 std::vector<double>& /*local_M_data*/,
59 std::vector<double>& /*local_K_data*/,
60 std::vector<double>& /*local_b_data*/) override;
61
62 void assembleWithJacobian(double const t, double const dt,
63 std::vector<double> const& local_x,
64 std::vector<double> const& local_x_prev,
65 std::vector<double>& /*local_M_data*/,
66 std::vector<double>& /*local_K_data*/,
67 std::vector<double>& local_rhs_data,
68 std::vector<double>& local_Jac_data) override;
69
70 Eigen::Map<const Eigen::RowVectorXd> getShapeMatrix(
71 const unsigned integration_point) const override
72 {
73 auto const& N = _secondary_data.N[integration_point];
74
75 // assumes N is stored contiguously in memory
76 return Eigen::Map<const Eigen::RowVectorXd>(N.data(), N.size());
77 }
78
79private:
81
82 std::vector<
84 Eigen::aligned_allocator<IntegrationPointDataSoil<
87
89
90 std::vector<ShapeMatrices, Eigen::aligned_allocator<ShapeMatrices>>
92
93 std::size_t const _element_id;
94
96};
97} // namespace HeatTransportBHE
98} // namespace ProcessLib
99
HeatTransportBHELocalAssemblerSoil(HeatTransportBHELocalAssemblerSoil &&)=delete
typename ShapeMatricesType::GlobalDimNodalMatrixType GlobalDimNodalMatrixType
std::vector< ShapeMatrices, Eigen::aligned_allocator< ShapeMatrices > > _shape_matrices
void assemble(double const, double const, std::vector< double > const &, std::vector< double > const &, std::vector< double > &, std::vector< double > &, std::vector< double > &) override
std::vector< IntegrationPointDataSoil< NodalRowVectorType, GlobalDimNodalMatrixType >, Eigen::aligned_allocator< IntegrationPointDataSoil< NodalRowVectorType, GlobalDimNodalMatrixType > > > _ip_data
void assembleWithJacobian(double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &, std::vector< double > &, std::vector< double > &local_rhs_data, std::vector< double > &local_Jac_data) override
Eigen::Map< const Eigen::RowVectorXd > getShapeMatrix(const unsigned integration_point) const override
Provides the shape matrix at the given integration point.
HeatTransportBHELocalAssemblerSoil(HeatTransportBHELocalAssemblerSoil const &)=delete
NumLib::ShapeMatrices< NodalRowVectorType, DimNodalMatrixType, DimMatrixType, GlobalDimNodalMatrixType > ShapeMatrices
MatrixType< ShapeFunction::NPOINTS, ShapeFunction::NPOINTS > NodalMatrixType
MatrixType< GlobalDim, ShapeFunction::NPOINTS > GlobalDimNodalMatrixType
VectorType< ShapeFunction::NPOINTS > NodalVectorType
RowVectorType< ShapeFunction::NPOINTS > NodalRowVectorType
std::vector< ShapeMatrixType, Eigen::aligned_allocator< ShapeMatrixType > > N