LocalAssembler¶
-
class
dolfin.cpp.fem.LocalAssembler¶ Bases:
objectAssembly of local cell tensors. Used by the adaptivity and LocalSolver functionality in dolfin. The local assembly functionality provided here is also wrapped as a free function assemble_local(form_a, cell) in Python for easier usage. Used from C++ the versions defined below will be faster than the free function as less objects need to be created and thrown away
-
static
assemble(A: 'Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &', ufc: 'dolfin::UFC &', coordinate_dofs: 'std::vector< double > const &', ufc_cell: 'ufc_cell', cell: 'Cell', cell_domains: 'dolfin::MeshFunction< std::size_t > const *', exterior_facet_domains: 'dolfin::MeshFunction< std::size_t > const *', interior_facet_domains: 'dolfin::MeshFunction< std::size_t > const *') → 'std::vector< double > &'¶ Assemble a local tensor on a cell
-
static
assemble_cell(A: 'Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &', ufc: 'dolfin::UFC &', coordinate_dofs: 'std::vector< double > const &', ufc_cell: 'ufc_cell', cell: 'Cell', cell_domains: 'dolfin::MeshFunction< std::size_t > const *') → 'std::vector< double > &'¶ Worker method called by assemble() to perform assembly of volume integrals (dx)
-
static
assemble_exterior_facet(A: 'Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &', ufc: 'dolfin::UFC &', coordinate_dofs: 'std::vector< double > const &', ufc_cell: 'ufc_cell', cell: 'Cell', facet: 'Facet', local_facet: 'std::size_t const', exterior_facet_domains: 'dolfin::MeshFunction< std::size_t > const *') → 'std::vector< double > &'¶ Worker method called by assemble() for each of the cell’s external facets to perform assembly of external facet integrals (ds)
-
static
assemble_interior_facet(A: 'Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &', ufc: 'dolfin::UFC &', coordinate_dofs: 'std::vector< double > const &', ufc_cell: 'ufc_cell', cell: 'Cell', facet: 'Facet', local_facet: 'std::size_t const', interior_facet_domains: 'dolfin::MeshFunction< std::size_t > const *', cell_domains: 'dolfin::MeshFunction< std::size_t > const *') → 'std::vector< double > &'¶ Worker method called by assemble() for each of the cell’s internal facets to perform assembly of internal facet integrals (dS)
-
thisown¶ The membership flag
-
static