OGS
|
Definition at line 39 of file DeactivatedSubdomainDirichlet.h.
#include <DeactivatedSubdomainDirichlet.h>
Public Member Functions | |
DeactivatedSubdomainDirichlet (MeshLib::PropertyVector< unsigned char > const &is_active, MathLib::PiecewiseLinearInterpolation time_interval, ParameterLib::Parameter< double > const ¶meter, bool const set_outer_nodes_dirichlet_values, DeactivatedSubdomainMesh const &subdomain, 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 |
DeactivatedSubdomainMesh const & | _subdomain |
std::unique_ptr< NumLib::LocalToGlobalIndexMap const > | _dof_table_boundary |
int const | _variable_id |
int const | _component_id |
MathLib::PiecewiseLinearInterpolation const | _time_interval |
MeshLib::PropertyVector< unsigned char > const & | _is_active |
bool const | _set_outer_nodes_dirichlet_values |
ProcessLib::DeactivatedSubdomainDirichlet::DeactivatedSubdomainDirichlet | ( | MeshLib::PropertyVector< unsigned char > const & | is_active, |
MathLib::PiecewiseLinearInterpolation | time_interval, | ||
ParameterLib::Parameter< double > const & | parameter, | ||
bool const | set_outer_nodes_dirichlet_values, | ||
DeactivatedSubdomainMesh const & | subdomain, | ||
NumLib::LocalToGlobalIndexMap const & | dof_table_bulk, | ||
int const | variable_id, | ||
int const | component_id ) |
Definition at line 20 of file DeactivatedSubdomainDirichlet.cpp.
References config().
|
private |
Definition at line 39 of file DeactivatedSubdomainDirichlet.cpp.
References _component_id, _dof_table_boundary, _subdomain, _variable_id, ProcessLib::checkParametersOfDirichletBoundaryCondition(), NumLib::LocalToGlobalIndexMap::deriveBoundaryConstrainedMap(), MeshLib::Mesh::getNodes(), and ProcessLib::DeactivatedSubdomainMesh::mesh.
Referenced by DeactivatedSubdomainDirichlet().
|
overridevirtual |
Writes the values of essential BCs to bc_values
.
Reimplemented from ProcessLib::BoundaryCondition.
Definition at line 54 of file DeactivatedSubdomainDirichlet.cpp.
References _component_id, _dof_table_boundary, _is_active, _parameter, _set_outer_nodes_dirichlet_values, _subdomain, _time_interval, _variable_id, MeshLib::bulkElementIDs(), MeshLib::bulkNodeIDs(), MeshLib::Mesh::getElementsConnectedToNode(), ProcessLib::getEssentialBCValuesLocal(), MathLib::PiecewiseLinearInterpolation::getSupportMax(), MathLib::PiecewiseLinearInterpolation::getSupportMin(), NumLib::IndexValueVector< IndexType >::ids, ProcessLib::DeactivatedSubdomainMesh::inner_nodes, ProcessLib::DeactivatedSubdomainMesh::mesh, ProcessLib::DeactivatedSubdomainMesh::outer_nodes, ProcessLib::DeactivatedSubdomainMesh::outer_nodes_elements, and NumLib::IndexValueVector< IndexType >::values.
|
private |
Definition at line 65 of file DeactivatedSubdomainDirichlet.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 63 of file DeactivatedSubdomainDirichlet.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 68 of file DeactivatedSubdomainDirichlet.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 59 of file DeactivatedSubdomainDirichlet.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 70 of file DeactivatedSubdomainDirichlet.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 61 of file DeactivatedSubdomainDirichlet.h.
Referenced by config(), and getEssentialBCValues().
|
private |
Definition at line 67 of file DeactivatedSubdomainDirichlet.h.
Referenced by getEssentialBCValues().
|
private |
Definition at line 64 of file DeactivatedSubdomainDirichlet.h.
Referenced by config(), and getEssentialBCValues().