PolyFEM
Loading...
Searching...
No Matches
PressureForceDerivative.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Core>
5
6namespace polyfem::solver
7{
9 {
10 public:
11 static void force_shape_derivative(
12 PressureForm &form,
13 const int n_verts,
14 const double t,
15 const Eigen::MatrixXd &x,
16 const Eigen::MatrixXd &adjoint,
17 Eigen::VectorXd &term);
18
19 static double force_pressure_derivative(
20 PressureForm &form,
21 const int n_verts,
22 const double t,
23 const int pressure_boundary_id,
24 const Eigen::MatrixXd &x,
25 const Eigen::MatrixXd &adjoint);
26 };
27} // namespace polyfem::solver
int x
static void force_shape_derivative(PressureForm &form, const int n_verts, const double t, const Eigen::MatrixXd &x, const Eigen::MatrixXd &adjoint, Eigen::VectorXd &term)
static double force_pressure_derivative(PressureForm &form, const int n_verts, const double t, const int pressure_boundary_id, const Eigen::MatrixXd &x, const Eigen::MatrixXd &adjoint)
Form representing body forces.