OGS
|
Definition at line 23 of file GenericNaturalBoundaryCondition.h.
#include <GenericNaturalBoundaryCondition.h>
Public Member Functions | |
template<typename Data > | |
GenericNaturalBoundaryCondition (unsigned const integration_order, unsigned const shapefunction_order, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, int const variable_id, int const component_id, unsigned const global_dim, MeshLib::Mesh const &bc_mesh, Data &&data) | |
void | applyNaturalBC (const double t, std::vector< GlobalVector * > const &x, int const process_id, GlobalMatrix *K, GlobalVector &b, GlobalMatrix *Jac) override |
Public Member Functions inherited from ProcessLib::BoundaryCondition | |
virtual void | getEssentialBCValues (const double, GlobalVector const &, NumLib::IndexValueVector< GlobalIndexType > &) const |
Writes the values of essential BCs to bc_values . | |
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 Attributes | |
BoundaryConditionData | _data |
Data used in the assembly of the specific boundary condition. | |
MeshLib::Mesh const & | _bc_mesh |
A lower-dimensional mesh on which the boundary condition is defined. | |
std::unique_ptr< NumLib::LocalToGlobalIndexMap > | _dof_table_boundary |
std::vector< std::unique_ptr< GenericNaturalBoundaryConditionLocalAssemblerInterface > > | _local_assemblers |
Local assemblers for each element of number of _elements. | |
ProcessLib::GenericNaturalBoundaryCondition< BoundaryConditionData, LocalAssemblerImplementation >::GenericNaturalBoundaryCondition | ( | unsigned const | integration_order, |
unsigned const | shapefunction_order, | ||
NumLib::LocalToGlobalIndexMap const & | dof_table_bulk, | ||
int const | variable_id, | ||
int const | component_id, | ||
unsigned const | global_dim, | ||
MeshLib::Mesh const & | bc_mesh, | ||
Data && | data ) |
Create a boundary condition process from given config, DOF-table, and a mesh subset for a given variable and its component. A local DOF-table, a subset of the given one, is constructed.
Definition at line 21 of file GenericNaturalBoundaryCondition-impl.h.
References DBUG(), MeshLib::getBulkIDString(), MeshLib::Node, and OGS_FATAL.
|
overridevirtual |
Calls local assemblers which calculate their contributions to the global matrix and the right-hand-side.
Reimplemented from ProcessLib::BoundaryCondition.
Definition at line 81 of file GenericNaturalBoundaryCondition-impl.h.
References NumLib::SerialExecutor::executeMemberOnDereferenced().
|
private |
A lower-dimensional mesh on which the boundary condition is defined.
Definition at line 47 of file GenericNaturalBoundaryCondition.h.
|
private |
Data used in the assembly of the specific boundary condition.
Definition at line 44 of file GenericNaturalBoundaryCondition.h.
|
private |
Local dof table, a subset of the global one restricted to the participating number of _elements of the boundary condition.
Definition at line 51 of file GenericNaturalBoundaryCondition.h.
|
private |
Local assemblers for each element of number of _elements.
Definition at line 56 of file GenericNaturalBoundaryCondition.h.