20class LocalToGlobalIndexMap;
36 std::size_t
const mesh_item_id,
37 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
38 std::vector<GlobalVector*>
const& x,
double const t,
39 int const process_id);
41 virtual void initialize(std::size_t
const mesh_item_id,
45 std::vector<double>
const& ){};
47 virtual void assemble(
double const t,
double const dt,
48 std::vector<double>
const& local_x,
49 std::vector<double>
const& local_x_prev,
50 std::vector<double>& local_M_data,
51 std::vector<double>& local_K_data,
52 std::vector<double>& local_b_data);
55 Eigen::VectorXd
const& local_x,
56 Eigen::VectorXd
const& local_x_prev,
58 std::vector<double>& local_M_data,
59 std::vector<double>& local_K_data,
60 std::vector<double>& local_b_data);
63 std::vector<double>
const& local_x,
64 std::vector<double>
const& local_x_prev,
65 std::vector<double>& local_b_data,
66 std::vector<double>& local_Jac_data);
69 double const t,
double const dt, Eigen::VectorXd
const& local_x,
70 Eigen::VectorXd
const& local_x_prev,
int const process_id,
71 std::vector<double>& local_b_data, std::vector<double>& local_Jac_data);
74 std::size_t
const mesh_item_id,
75 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
76 double const t,
double const dt, std::vector<GlobalVector*>
const& x,
79 virtual void preTimestep(std::size_t
const mesh_item_id,
82 double const delta_t);
85 std::size_t
const mesh_item_id,
86 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
87 std::vector<GlobalVector*>
const& x,
88 std::vector<GlobalVector*>
const& x_prev,
double const t,
89 double const dt,
int const process_id);
92 std::size_t
const mesh_item_id,
93 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
94 std::vector<GlobalVector*>
const& x,
95 std::vector<GlobalVector*>
const& x_prev,
double const t,
96 double const dt,
int const process_id);
104 std::vector<double>
const& )
const
106 return Eigen::Vector3d{};
113 std::vector<std::vector<double>>
const& )
const
115 return Eigen::Vector3d{};
127 double const ,
double const )
132 Eigen::VectorXd
const& ,
133 double const ,
double const ,
139 Eigen::VectorXd
const& ,
140 Eigen::VectorXd
const& ,
double const ,
141 double const ,
int const )
148 Eigen::VectorXd
const& ,
149 Eigen::VectorXd
const& )
Definition of the Point3d class.
Global vector based on Eigen vector.
virtual void preTimestepConcrete(std::vector< double > const &, double const, double const)
virtual ~LocalAssemblerInterface()=default
virtual void setInitialConditionsConcrete(Eigen::VectorXd const, double const, int const)
virtual void postNonLinearSolverConcrete(Eigen::VectorXd const &, Eigen::VectorXd const &, double const, double const, int const)
void postNonLinearSolver(std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id)
virtual void postTimestep(std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id)
virtual void initializeConcrete()
virtual void computeSecondaryVariableConcrete(double const, double const, Eigen::VectorXd const &, Eigen::VectorXd const &)
virtual Eigen::Vector3d getFlux(MathLib::Point3d const &, double const, std::vector< double > const &) const
virtual Eigen::Vector3d getFlux(MathLib::Point3d const &, double const, std::vector< std::vector< double > > const &) const
Fits to staggered scheme.
virtual void assembleWithJacobian(double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data)
virtual void computeSecondaryVariable(std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, double const t, double const dt, std::vector< GlobalVector * > const &x, GlobalVector const &x_prev, int const process_id)
virtual void preAssemble(double const, double const, std::vector< double > const &)
virtual void assembleForStaggeredScheme(double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data)
virtual void postTimestepConcrete(Eigen::VectorXd const &, Eigen::VectorXd const &, double const, double const, int const)
virtual void preTimestep(std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t, double const delta_t)
virtual void initialize(std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table)
virtual void assembleWithJacobianForStaggeredScheme(double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data)
virtual void assemble(double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data)
virtual void setInitialConditions(std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, double const t, int const process_id)