PolyFEM
Loading...
Searching...
No Matches
SmoothContactForceDerivative.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <Eigen/Core>
4
#include <
polyfem/solver/forms/SmoothContactForm.hpp
>
5
#include <ipc/smooth_contact/smooth_collisions.hpp>
6
7
namespace
polyfem::solver
8
{
9
class
SmoothContactForceDerivative
10
{
11
public
:
12
static
void
force_shape_derivative
(
13
const
SmoothContactForm
&form,
14
const
ipc::SmoothCollisions &collision_set,
15
const
Eigen::MatrixXd &solution,
16
const
Eigen::VectorXd &adjoint_sol,
17
Eigen::VectorXd &term);
18
};
19
}
// namespace polyfem::solver
SmoothContactForm.hpp
polyfem::solver::SmoothContactForceDerivative
Definition
SmoothContactForceDerivative.hpp:10
polyfem::solver::SmoothContactForceDerivative::force_shape_derivative
static void force_shape_derivative(const SmoothContactForm &form, const ipc::SmoothCollisions &collision_set, const Eigen::MatrixXd &solution, const Eigen::VectorXd &adjoint_sol, Eigen::VectorXd &term)
Definition
SmoothContactForceDerivative.cpp:11
polyfem::solver::SmoothContactForm
Definition
SmoothContactForm.hpp:14
polyfem::solver
Definition
AdjointNLProblem.cpp:17
src
polyfem
optimization
force_derivatives
SmoothContactForceDerivative.hpp
Generated by
1.9.8