DOLFIN-X
DOLFIN-X C++ interface
|
26 Constant(
const std::vector<PetscScalar>& c);
29 Constant(
const Eigen::Ref<Eigen::Array<PetscScalar, Eigen::Dynamic,
30 Eigen::Dynamic, Eigen::RowMajor>>& c);
Constant(PetscScalar c)
Create a rank-0 (scalar-valued) constant.
Definition: Constant.cpp:15
A constant value which can be attached to a Form. Constants may be scalar (rank 0),...
Definition: Constant.h:18
std::vector< int > shape
Shape.
Definition: Constant.h:36
Functions tools, including FEM functions and pointwise defined functions.
Definition: assemble_matrix_impl.h:18
std::vector< PetscScalar > value
Values, stored as a flattened array.
Definition: Constant.h:39