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 ...@@ -23,26 +23,19 @@ class LocalAssemblerInterface
public: public:
virtual ~LocalAssemblerInterface() = default; virtual ~LocalAssemblerInterface() = default;
virtual void assemble(double const t, std::vector<double> const& local_x) = 0; virtual void assemble(std::size_t const id,
NumLib::LocalToGlobalIndexMap const& dof_table,
virtual void addToGlobal( double const t, GlobalVector const& x,
NumLib::LocalToGlobalIndexMap::RowColumnIndices const&, GlobalMatrix& M, GlobalMatrix& K,
GlobalMatrix& M, GlobalMatrix& K, GlobalVector& b) const = 0; GlobalVector& b) = 0;
virtual void assembleJacobian(double const /*t*/, virtual void assembleJacobian(
std::vector<double> const& /*local_x*/) std::size_t const /*id*/,
{ NumLib::LocalToGlobalIndexMap const& /*dof_table*/, double const /*t*/,
OGS_FATAL( GlobalVector const& /*x*/, GlobalMatrix& /*Jac*/)
"assembleJacobian function is not implemented in the local "
"assembler.");
}
virtual void addJacobianToGlobal(NumLib::LocalToGlobalIndexMap::
RowColumnIndices const& /*indices*/,
GlobalMatrix& /*Jac*/) const
{ {
OGS_FATAL( OGS_FATAL(
"addJacobianToGlobal function is not implemented in the local " "The assembleJacobian() function is not implemented in the local "
"assembler."); "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