DOLFIN-X
DOLFIN-X C++ interface
|
10 #include <dolfinx/common/types.h>
42 const mesh::Mesh& mesh,
const std::vector<std::int32_t>& active_cells,
43 const std::function<
void(PetscScalar*,
const PetscScalar*,
44 const PetscScalar*,
const double*,
const int*,
45 const std::uint8_t*,
const std::uint32_t)>& fn,
46 const Eigen::Array<PetscScalar, Eigen::Dynamic, Eigen::Dynamic,
47 Eigen::RowMajor>& coeffs,
48 const std::vector<PetscScalar>& constant_values);
52 const mesh::Mesh& mesh,
const std::vector<std::int32_t>& active_cells,
53 const std::function<
void(PetscScalar*,
const PetscScalar*,
54 const PetscScalar*,
const double*,
const int*,
55 const std::uint8_t*,
const std::uint32_t)>& fn,
56 const Eigen::Array<PetscScalar, Eigen::Dynamic, Eigen::Dynamic,
57 Eigen::RowMajor>& coeffs,
58 const std::vector<PetscScalar>& constant_values);
62 const mesh::Mesh& mesh,
const std::vector<std::int32_t>& active_cells,
63 const std::function<
void(PetscScalar*,
const PetscScalar*,
64 const PetscScalar*,
const double*,
const int*,
65 const std::uint8_t*,
const std::uint32_t)>& fn,
66 const Eigen::Array<PetscScalar, Eigen::Dynamic, Eigen::Dynamic,
67 Eigen::RowMajor>& coeffs,
68 const std::vector<int>& offsets,
69 const std::vector<PetscScalar>& constant_values);
PetscScalar assemble_scalar(const fem::Form &M)
Assemble functional into an scalar.
Definition: assemble_scalar_impl.cpp:25
void assemble_interior_facets(const std::function< int(std::int32_t, const std::int32_t *, std::int32_t, const std::int32_t *, const ScalarType *)> &mat_set_values_local, const mesh::Mesh &mesh, const std::vector< std::int32_t > &active_facets, const DofMap &dofmap0, const DofMap &dofmap1, const std::vector< bool > &bc0, const std::vector< bool > &bc1, const std::function< void(ScalarType *, const ScalarType *, const ScalarType *, const double *, const int *, const std::uint8_t *, const std::uint32_t)> &kernel, const Eigen::Array< ScalarType, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &coeffs, const std::vector< int > &offsets, const Eigen::Array< ScalarType, Eigen::Dynamic, 1 > &constant_values)
Execute kernel over interior facets and accumulate result in Mat.
Definition: assemble_matrix_impl.cpp:274
void assemble_cells(const std::function< int(std::int32_t, const std::int32_t *, std::int32_t, const std::int32_t *, const ScalarType *)> &mat_set_values_local, const mesh::Mesh &mesh, const std::vector< std::int32_t > &active_cells, const graph::AdjacencyList< std::int32_t > &dofmap0, int num_dofs_per_cell0, const graph::AdjacencyList< std::int32_t > &dofmap1, int num_dofs_per_cell1, const std::vector< bool > &bc0, const std::vector< bool > &bc1, const std::function< void(ScalarType *, const ScalarType *, const ScalarType *, const double *, const int *, const std::uint8_t *, const std::uint32_t)> &kernel, const Eigen::Array< ScalarType, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &coeffs, const Eigen::Array< ScalarType, Eigen::Dynamic, 1 > &constant_values)
Execute kernel over cells and accumulate result in Mat.
Definition: assemble_matrix_impl.cpp:101
void assemble_exterior_facets(const std::function< int(std::int32_t, const std::int32_t *, std::int32_t, const std::int32_t *, const ScalarType *)> &mat_set_values_local, const mesh::Mesh &mesh, const std::vector< std::int32_t > &active_facets, const DofMap &dofmap0, const DofMap &dofmap1, const std::vector< bool > &bc0, const std::vector< bool > &bc1, const std::function< void(ScalarType *, const ScalarType *, const ScalarType *, const double *, const int *, const std::uint8_t *, const std::uint32_t)> &fn, const Eigen::Array< ScalarType, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &coeffs, const Eigen::Array< ScalarType, Eigen::Dynamic, 1 > constant_values)
Execute kernel over exterior facets and accumulate result in Mat.
Definition: assemble_matrix_impl.cpp:178