Skip to content
Snippets Groups Projects
Commit 172de048 authored by Tom Fischer's avatar Tom Fischer
Browse files

[PL] Add LocalAssemblerInterface::getFlux.

Necessary for BalanceProcess.
parent 781168dd
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#define PROCESSLIB_LOCALASSEMBLERINTERFACE_H #define PROCESSLIB_LOCALASSEMBLERINTERFACE_H
#include "NumLib/NumericsConfig.h" #include "NumLib/NumericsConfig.h"
#include "MathLib/Point3d.h"
namespace NumLib namespace NumLib
{ {
...@@ -53,6 +54,15 @@ public: ...@@ -53,6 +54,15 @@ public:
NumLib::LocalToGlobalIndexMap const& dof_table, NumLib::LocalToGlobalIndexMap const& dof_table,
GlobalVector const& x); GlobalVector const& x);
/// Computes the flux in the point \c p_local_coords that is given in local
/// coordinates using the values from \c local_x.
virtual std::vector<double> getFlux(
MathLib::Point3d const& p_local_coords,
std::vector<double> const& local_x) const
{
return std::vector<double>();
}
private: private:
virtual void preTimestepConcrete(std::vector<double> const& /*local_x*/, virtual void preTimestepConcrete(std::vector<double> const& /*local_x*/,
double const /*t*/, double const /*dt*/) double const /*t*/, double const /*dt*/)
......
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