OGS
HTLocalAssemblerInterface.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
10
11namespace ProcessLib
12{
13
14namespace HT
15{
16template <typename GlobalDimNodalMatrixType>
18{
19 IntegrationPointData(GlobalDimNodalMatrixType dNdx_,
20 double const& integration_weight_)
21 : dNdx(std::move(dNdx_)), integration_weight(integration_weight_)
22 {
23 }
24
25 GlobalDimNodalMatrixType const dNdx;
26 double const integration_weight;
27
29};
30
33{
34public:
36
37 virtual std::vector<double> const& getIntPtDarcyVelocity(
38 const double /*t*/,
39 std::vector<GlobalVector*> const& x,
40 std::vector<NumLib::LocalToGlobalIndexMap const*> const& /*dof_table*/,
41 std::vector<double>& /*cache*/) const = 0;
42
43 Eigen::Vector3d getFlux(MathLib::Point3d const& pnt_local_coords,
44 double const t,
45 std::vector<double> const& local_x) const override =
46 0;
47};
48
49} // namespace HT
50} // namespace ProcessLib
virtual std::vector< double > const & getIntPtDarcyVelocity(const double, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &) const =0
Eigen::Vector3d getFlux(MathLib::Point3d const &pnt_local_coords, double const t, std::vector< double > const &local_x) const override=0
IntegrationPointData(GlobalDimNodalMatrixType dNdx_, double const &integration_weight_)