OGS
|
Definition at line 40 of file DirichletBoundaryConditionWithinTimeInterval.h.
#include <DirichletBoundaryConditionWithinTimeInterval.h>
Public Member Functions | |
DirichletBoundaryConditionWithinTimeInterval (BaseLib::TimeInterval time_interval, ParameterLib::Parameter< double > const ¶meter, MeshLib::Mesh const &bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, int const variable_id, int const component_id) | |
void | getEssentialBCValues (const double t, GlobalVector const &x, NumLib::IndexValueVector< GlobalIndexType > &bc_values) const override |
Writes the values of essential BCs to bc_values . | |
Public Member Functions inherited from ProcessLib::BoundaryCondition | |
virtual void | applyNaturalBC (const double, std::vector< GlobalVector * > const &, int const, GlobalMatrix *, GlobalVector &, GlobalMatrix *) |
virtual void | preTimestep (const double, std::vector< GlobalVector * > const &, int const) |
virtual void | postTimestep (const double, std::vector< GlobalVector * > const &, int const) |
virtual | ~BoundaryCondition ()=default |
Private Member Functions | |
void | config (NumLib::LocalToGlobalIndexMap const &dof_table_bulk) |
Private Attributes | |
ParameterLib::Parameter< double > const & | _parameter |
MeshLib::Mesh const & | _bc_mesh |
std::unique_ptr< NumLib::LocalToGlobalIndexMap const > | _dof_table_boundary |
int const | _variable_id |
int const | _component_id |
BaseLib::TimeInterval const | _time_interval |
ProcessLib::DirichletBoundaryConditionWithinTimeInterval::DirichletBoundaryConditionWithinTimeInterval | ( | BaseLib::TimeInterval | time_interval, |
ParameterLib::Parameter< double > const & | parameter, | ||
MeshLib::Mesh const & | bc_mesh, | ||
NumLib::LocalToGlobalIndexMap const & | dof_table_bulk, | ||
int const | variable_id, | ||
int const | component_id ) |
Definition at line 23 of file DirichletBoundaryConditionWithinTimeInterval.cpp.
References config().
|
private |
Definition at line 39 of file DirichletBoundaryConditionWithinTimeInterval.cpp.
References _bc_mesh, _component_id, _dof_table_boundary, _variable_id, ProcessLib::checkParametersOfDirichletBoundaryCondition(), NumLib::LocalToGlobalIndexMap::deriveBoundaryConstrainedMap(), and MeshLib::Mesh::getNodes().
Referenced by DirichletBoundaryConditionWithinTimeInterval().
|
overridevirtual |
Writes the values of essential BCs to bc_values
.
Reimplemented from ProcessLib::BoundaryCondition.
Definition at line 54 of file DirichletBoundaryConditionWithinTimeInterval.cpp.
References _bc_mesh, _component_id, _dof_table_boundary, _parameter, _time_interval, _variable_id, BaseLib::TimeInterval::contains(), ProcessLib::getEssentialBCValuesLocal(), NumLib::IndexValueVector< typename >::ids, and NumLib::IndexValueVector< typename >::values.
|
private |
Definition at line 61 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 65 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 63 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 59 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 67 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 64 of file DirichletBoundaryConditionWithinTimeInterval.h.
Referenced by config(), and getEssentialBCValues().