Skip to main content
Ctrl+K
cashocs cashocs

cashocs

  • About
  • User Guide
  • API Reference
  • CLI Reference
  • Development
  • Release Notes
  • GitHub
  • PyPI
  • About
  • User Guide
  • API Reference
  • CLI Reference
  • Development
  • Release Notes
  • GitHub
  • PyPI
Ctrl+K

Section Navigation

List of tutorial topics:

  • Optimal Control Problems
    • Distributed Control of a Poisson Problem
    • Documentation of the Config Files for Optimal Control Problems
    • Control Constraints
    • Neumann Boundary Control
    • Using Multiple Variables and PDEs
    • Coupled Problems - Monolithic Approach
    • Coupled Problems - Picard Iteration
    • Distributed Control of a Stokes Problem
    • Distributed Control for Time Dependent Problems
    • Optimal Control with Nonlinear PDE Constraints
    • Dirichlet Boundary Control
    • Iterative Solvers for State and Adjoint Systems
    • Optimal Control with State Constraints
    • Sparse Control
    • Tracking of Scalar Functionals for Optimal Control Problems
    • Treatment of additional constraints
    • Boundary conditions for control variables
    • Pre- and Post-Callbacks for the optimization
  • Shape Optimization Problems
    • Shape Optimization with a Poisson Problem
    • Documentation of the Config Files for Shape Optimization Problems
    • Regularization for Shape Optimization Problems
    • Inverse Problem in Electric Impedance Tomography
    • Optimization of an Obstacle in Stokes Flow
    • Remeshing with cashocs
    • Custom Scalar Products for Shape Gradient Computation
    • Scaling of the Cost Functional
    • Computing the Shape Stiffness via Distance to the Boundaries
    • Shape Optimization with the p-Laplacian
    • Space Mapping Shape Optimization - Semilinear Transmission Problem
    • Space Mapping Shape Optimization - Uniform Flow Distribution
    • Pseudo Time Stepping for Steady State Problems
  • Topology Optimization Problems
    • Topology Optimization with a Poisson Equation
    • Documentation of the Config Files for Topology Optimization Problems
    • Topology Optimization with Linear Elasticity - Cantilever
    • Topology Optimization with Stokes Flow - Pipe Bend
    • Topology Optimization with a Volume Constraint
    • Computing Multiple Local Minimizers of Topology Optimization Problems - Five-holes Double-pipe
  • Using cashocs as a solver
    • cashocs as Solver for Optimal Control Problems
    • cashocs as Solver for Shape Optimization Problems
  • Miscellaneous Topics
    • Logging with cashocs
    • Writing and Reading XDMF Files
    • Using COMM_SELF as MPI communicator
    • Using a custom MPI communicator

Indices

  • General Index
  • Python Module Index
  • cashocs Tutorial
  • Using cashocs as a solver

Using cashocs as a solver#

Here, we showcase that one can use cashocs optimization routines without its automatic derivation of adjoint systems and (shape) derivatives, where the user can choose to supply these forms themselves.

Corresponding Demos:

  • cashocs as Solver for Optimal Control Problems
  • cashocs as Solver for Shape Optimization Problems

previous

Computing Multiple Local Minimizers of Topology Optimization Problems - Five-holes Double-pipe

next

cashocs as Solver for Optimal Control Problems

This Page

  • Show Source

© Copyright 2020-2026, Fraunhofer ITWM and Sebastian Blauth.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.