24namespace SmallDeformation
33 std::size_t n_local_size, std::vector<unsigned> dofIndex_to_localIndex)
42 std::vector<double>
const& local_x_,
43 std::vector<double>
const& ,
44 std::vector<double>& local_b_data,
45 std::vector<double>& local_Jac_data)
override
47 auto const local_dof_size = local_x_.size();
50 for (
unsigned i = 0; i < local_dof_size; i++)
59 local_b_data.resize(local_dof_size);
60 for (
unsigned i = 0; i < local_dof_size; i++)
65 local_Jac_data.resize(local_dof_size * local_dof_size);
66 for (
unsigned i = 0; i < local_dof_size; i++)
68 for (
unsigned j = 0; j < local_dof_size; j++)
70 local_Jac_data[i * local_dof_size + j] =
_local_J(
77 Eigen::VectorXd
const& ,
82 "SmallDeformationLocalAssemblerInterface::assembleWithJacobian() "
83 "is not implemented");
87 double const t,
double const , Eigen::VectorXd
const& local_x,
88 Eigen::VectorXd
const& )
override
93 for (
auto i = 0; i < local_x.rows(); i++)
104 std::vector<GlobalVector*>
const& x,
105 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
106 std::vector<double>& cache)
const = 0;
110 std::vector<GlobalVector*>
const& x,
111 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
112 std::vector<double>& cache)
const = 0;
116 std::vector<GlobalVector*>
const& x,
117 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
118 std::vector<double>& cache)
const = 0;
122 std::vector<GlobalVector*>
const& x,
123 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
124 std::vector<double>& cache)
const = 0;
128 double const t, Eigen::VectorXd
const& local_u) = 0;