Skip to content
Snippets Groups Projects
Commit 3e1c53e1 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] LocAsmIntf w/o VecMatAsm

parent 64c77f5e
No related branches found
No related tags found
No related merge requests found
......@@ -23,26 +23,19 @@ class LocalAssemblerInterface
public:
virtual ~LocalAssemblerInterface() = default;
virtual void assemble(double const t, std::vector<double> const& local_x) = 0;
virtual void addToGlobal(
NumLib::LocalToGlobalIndexMap::RowColumnIndices const&,
GlobalMatrix& M, GlobalMatrix& K, GlobalVector& b) const = 0;
virtual void assembleJacobian(double const /*t*/,
std::vector<double> const& /*local_x*/)
{
OGS_FATAL(
"assembleJacobian function is not implemented in the local "
"assembler.");
}
virtual void addJacobianToGlobal(NumLib::LocalToGlobalIndexMap::
RowColumnIndices const& /*indices*/,
GlobalMatrix& /*Jac*/) const
virtual void assemble(std::size_t const id,
NumLib::LocalToGlobalIndexMap const& dof_table,
double const t, GlobalVector const& x,
GlobalMatrix& M, GlobalMatrix& K,
GlobalVector& b) = 0;
virtual void assembleJacobian(
std::size_t const /*id*/,
NumLib::LocalToGlobalIndexMap const& /*dof_table*/, double const /*t*/,
GlobalVector const& /*x*/, GlobalMatrix& /*Jac*/)
{
OGS_FATAL(
"addJacobianToGlobal function is not implemented in the local "
"The assembleJacobian() function is not implemented in the local "
"assembler.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment