DOLFIN-X
DOLFIN-X C++ interface
|
9 #include "FormCoefficients.h"
10 #include "FormIntegrals.h"
76 Form(
const std::vector<std::shared_ptr<const function::FunctionSpace>>&
80 std::pair<std::string, std::shared_ptr<const function::Constant>>>
89 const std::vector<std::shared_ptr<const function::FunctionSpace>>&
96 virtual ~Form() =
default;
107 std::map<std::size_t, std::shared_ptr<const function::Function>>
114 std::map<std::string, std::shared_ptr<const function::Function>>
130 set_constants(std::map<std::string, std::shared_ptr<const function::Constant>>
142 std::vector<std::shared_ptr<const function::Constant>>
constants);
159 std::shared_ptr<const mesh::Mesh>
mesh()
const;
164 std::shared_ptr<const function::FunctionSpace>
function_space(
int i)
const;
169 std::function<
void(PetscScalar*,
const PetscScalar*,
const PetscScalar*,
170 const double*,
const int*,
const std::uint8_t*,
171 const std::uint32_t)>
207 std::pair<std::string, std::shared_ptr<const function::Constant>>>&
218 std::vector<std::pair<std::string, std::shared_ptr<const function::Constant>>>
222 std::vector<std::shared_ptr<const function::FunctionSpace>> _function_spaces;
225 std::shared_ptr<const mesh::Mesh> _mesh;