21 bc_values.
ids.resize(1);
22 bc_values.
values.resize(1);
31std::unique_ptr<BHEBottomDirichletBoundaryCondition>
33 std::pair<GlobalIndexType, GlobalIndexType>&& in_out_global_indices)
35 DBUG(
"Constructing BHEBottomDirichletBoundaryCondition.");
42 if (in_out_global_indices.first < 0 && in_out_global_indices.second < 0)
48 if (in_out_global_indices.first < 0 || in_out_global_indices.second < 0)
51 "The partition cuts the BHE into two independent parts. This "
52 "behaviour is not implemented.");
56 return std::make_unique<BHEBottomDirichletBoundaryCondition>(
57 std::move(in_out_global_indices));
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Global vector based on Eigen vector.
std::pair< GlobalIndexType, GlobalIndexType > const _in_out_global_indices
void getEssentialBCValues(const double t, GlobalVector const &x, NumLib::IndexValueVector< GlobalIndexType > &bc_values) const override
Writes the values of essential BCs to bc_values.
std::unique_ptr< BHEBottomDirichletBoundaryCondition > createBHEBottomDirichletBoundaryCondition(std::pair< GlobalIndexType, GlobalIndexType > &&in_out_global_indices)
std::vector< IndexType > ids
std::vector< double > values