DOLFINx-GraphAD

User guide

  • Getting started
    • Installation
    • Record a forward solve
  • Recording operations
    • Supported operations
    • Saved values and versions
  • Derivative solver configuration
  • Differentiation
    • Selecting outputs and controls
    • Multiple objectives and controls
  • Demos

API reference

  • fem
    • fem.assemble
      • assemble_scalar()
    • fem.bcs
      • DirichletBCNode
        • DirichletBCNode.bind()
        • DirichletBCNode.release()
      • DirichletBC_Constant_Edge
        • DirichletBC_Constant_Edge.calculate_adjoint()
        • DirichletBC_Constant_Edge.release()
      • DirichletBC_Function_Edge
        • DirichletBC_Function_Edge.calculate_adjoint()
      • dirichletbc()
    • fem.forms
      • FormNode
        • FormNode.bind()
        • FormNode.recorded()
        • FormNode.release()
      • Form_Coefficient_Edge
        • Form_Coefficient_Edge.calculate_adjoint()
      • Form_Constant_Edge
        • Form_Constant_Edge.calculate_adjoint()
      • form()
    • fem.function
      • Constant
      • ConstantNode
        • ConstantNode.save()
      • Function
        • Function.assign()
        • Function.copy()
      • FunctionNode
        • FunctionNode.save()
    • fem.petsc
      • AdjointProblem
        • AdjointProblem.solve()
      • LinearProblem
        • LinearProblem.solve()
      • LinearProblemNode
        • LinearProblemNode.residual
      • NonlinearProblem
        • NonlinearProblem.solve()
      • NonlinearProblemNode
        • NonlinearProblemNode.residual
      • ProblemNode
        • ProblemNode.capture_inputs()
        • ProblemNode.release()
        • ProblemNode.solve_adjoint()
      • Problem_Boundary_Edge
        • Problem_Boundary_Edge.calculate_adjoint()
      • Problem_Coefficient_Edge
        • Problem_Coefficient_Edge.calculate_adjoint()
      • Problem_Constant_Edge
        • Problem_Constant_Edge.calculate_adjoint()
      • SolveNode
  • graph
    • graph.dag
      • Graph
        • Graph.add_edge()
        • Graph.add_node()
        • Graph.backprop()
        • Graph.capture()
        • Graph.edges
        • Graph.get_dependencies()
        • Graph.get_edge()
        • Graph.get_node()
        • Graph.get_path()
        • Graph.nodes
        • Graph.nx_graph
        • Graph.print()
        • Graph.release()
        • Graph.reset_grads()
        • Graph.save()
        • Graph.track()
        • Graph.visualise()
    • graph.dolfinx_helpers
      • add()
      • constant_mesh()
      • resolve_capture()
      • scalar()
      • zeros()
    • graph.edge
      • Edge
        • Edge.calculate_adjoint()
        • Edge.next_functions
        • Edge.release()
        • Edge.successor
    • graph.node
      • AbstractNode
        • AbstractNode.name
        • AbstractNode.release()
        • AbstractNode.snapshot
      • Node
        • Node.accumulate_grad()
        • Node.release()
        • Node.reset_grad()
        • Node.snapshot
  • verification
DOLFINx-GraphAD
  • fem
  • View page source

fem

  • fem.assemble
  • fem.bcs
  • fem.forms
  • fem.function
  • fem.petsc
Previous Next

© Copyright 2026, Niklas Hornischer.

Built with Sphinx using a theme provided by Read the Docs.