23 std::vector<double>
const& ,
24 std::vector<double>
const& ,
25 std::vector<double>& ,
26 std::vector<double>& ,
27 std::vector<double>& )
30 "The assemble() function is not implemented in the local assembler.");
34 double const ,
double const , Eigen::VectorXd
const& ,
35 Eigen::VectorXd
const& ,
int const ,
36 std::vector<double>& ,
37 std::vector<double>& ,
38 std::vector<double>& )
41 "The assembleForStaggeredScheme() function is not implemented in the "
46 double const ,
double const ,
47 std::vector<double>
const& ,
48 std::vector<double>
const& ,
49 std::vector<double>& ,
50 std::vector<double>& )
53 "The assembleWithJacobian() function is not implemented in the local "
58 double const ,
double const , Eigen::VectorXd
const& ,
59 Eigen::VectorXd
const& ,
int const ,
60 std::vector<double>& ,
61 std::vector<double>& )
64 "The assembleWithJacobianForStaggeredScheme() function is not "
65 "implemented in the local assembler.");
69 std::size_t
const mesh_item_id,
70 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
71 double const t,
double const dt, std::vector<GlobalVector*>
const& x,
79 auto const local_x_prev_vec = x_prev.
get(indices);
86 std::size_t
const mesh_item_id,
87 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
88 std::vector<GlobalVector*>
const& x,
double const t,
int const process_id)
103 std::size_t
const mesh_item_id,
105 double const t,
double const delta_t)
108 auto const local_x = x.
get(indices);
114 std::size_t
const mesh_item_id,
115 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
116 std::vector<GlobalVector*>
const& x,
117 std::vector<GlobalVector*>
const& x_prev,
double const t,
double const dt,
118 int const process_id)
121 auto const local_x_prev =
128 std::size_t
const mesh_item_id,
129 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_tables,
130 std::vector<GlobalVector*>
const& x,
131 std::vector<GlobalVector*>
const& x_prev,
double const t,
double const dt,
132 int const process_id)
135 auto const local_x_prev =
Global vector based on Eigen vector.
double get(IndexType rowId) const
get entry
virtual void preTimestepConcrete(std::vector< double > const &, double const, double const)
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 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 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)
Eigen::Map< const Vector > toVector(std::vector< double > const &data, Eigen::VectorXd::Index size)
Creates an Eigen mapped vector from the given data vector.
std::vector< GlobalIndexType > getIndices(std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table)
Eigen::VectorXd getLocalX(std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x)