PolyFEM
Loading...
Searching...
No Matches
StaticBoundaryNLProblem.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
polyfem/solver/NLProblem.hpp
>
4
5
namespace
polyfem::solver
6
{
7
class
StaticBoundaryNLProblem
:
public
NLProblem
8
{
9
public
:
10
StaticBoundaryNLProblem
(
11
const
int
full_size
,
12
const
Eigen::VectorXd &boundary_values,
13
const
std::vector<std::shared_ptr<polyfem::solver::Form>> &
forms
,
14
const
std::vector<std::shared_ptr<AugmentedLagrangianForm>> &penalty_forms)
15
:
polyfem
::solver::
NLProblem
(
full_size
,
forms
, penalty_forms, nullptr),
16
boundary_values_
(boundary_values)
17
{
18
throw
std::runtime_error(
"To be fixed"
);
19
}
20
// TODO fix AL nullptr
21
22
private
:
23
const
Eigen::MatrixXd
boundary_values_
;
24
};
25
}
// namespace polyfem::solver
NLProblem.hpp
polyfem::solver::FullNLProblem::forms
std::vector< std::shared_ptr< Form > > & forms()
Definition
FullNLProblem.hpp:39
polyfem::solver::NLProblem
Definition
NLProblem.hpp:15
polyfem::solver::NLProblem::full_size
int full_size() const
Definition
NLProblem.hpp:56
polyfem::solver::StaticBoundaryNLProblem
Definition
StaticBoundaryNLProblem.hpp:8
polyfem::solver::StaticBoundaryNLProblem::boundary_values_
const Eigen::MatrixXd boundary_values_
Definition
StaticBoundaryNLProblem.hpp:23
polyfem::solver::StaticBoundaryNLProblem::StaticBoundaryNLProblem
StaticBoundaryNLProblem(const int full_size, const Eigen::VectorXd &boundary_values, const std::vector< std::shared_ptr< polyfem::solver::Form > > &forms, const std::vector< std::shared_ptr< AugmentedLagrangianForm > > &penalty_forms)
Definition
StaticBoundaryNLProblem.hpp:10
polyfem::solver
Definition
OptState.hpp:16
polyfem
Definition
AMIPSEnergy.cpp:6
src
polyfem
solver
problems
StaticBoundaryNLProblem.hpp
Generated by
1.9.8