Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::WeakProblem< DirectSolverType, IterativeSolverType > Class Template Reference

#include <WeakProblem.h>

Collaboration diagram for model::WeakProblem< DirectSolverType, IterativeSolverType >:

Public Types

using Matrix = typename DirectSolverType::MatrixType
using Vector = Eigen::VectorXd
using Triplet = Eigen::Triplet<double>

Public Member Functions

template<class BWF, class LWF>
 WeakProblem (std::shared_ptr< BWF > bwf, std::shared_ptr< LWF > lwf, WeakProblemOptions opts={})
 WeakProblem (const WeakProblem &)=delete
 WeakProblem (WeakProblem &&)=delete
WeakProblem & operator= (const WeakProblem &)=delete
WeakProblem & operator= (WeakProblem &&)=delete
template<class LWF>
void setRightHandSide (std::shared_ptr< LWF > lwf)
void setAffineModes (const Eigen::MatrixXd &modes)
void setLinearConstraints (const Eigen::MatrixXd &rows)
void setLinearConstraintValues (const Vector &values)
const Vector & affineCoefficients () const
void reassembleMatrix ()
WeakProblemResult solveWithMasterSlaveConstraints ()
Matrix reducedMatrix () const
const Matrix & solverMatrix () const
const Vector & reducedForceVector () const
size_t factorizationCount () const

Detailed Description

template<class DirectSolverType, class IterativeSolverType>
class model::WeakProblem< DirectSolverType, IterativeSolverType >

Definition at line 40 of file WeakProblem.h.

Member Typedef Documentation

◆ Matrix

template<class DirectSolverType, class IterativeSolverType>
using model::WeakProblem< DirectSolverType, IterativeSolverType >::Matrix = typename DirectSolverType::MatrixType

Definition at line 43 of file WeakProblem.h.

◆ Triplet

template<class DirectSolverType, class IterativeSolverType>
using model::WeakProblem< DirectSolverType, IterativeSolverType >::Triplet = Eigen::Triplet<double>

Definition at line 45 of file WeakProblem.h.

◆ Vector

template<class DirectSolverType, class IterativeSolverType>
using model::WeakProblem< DirectSolverType, IterativeSolverType >::Vector = Eigen::VectorXd

Definition at line 44 of file WeakProblem.h.

Constructor & Destructor Documentation

◆ WeakProblem() [1/3]

template<class DirectSolverType, class IterativeSolverType>
template<class BWF, class LWF>
model::WeakProblem< DirectSolverType, IterativeSolverType >::WeakProblem ( std::shared_ptr< BWF > bwf,
std::shared_ptr< LWF > lwf,
WeakProblemOptions opts = {} )
inline

Definition at line 436 of file WeakProblem.h.

◆ WeakProblem() [2/3]

template<class DirectSolverType, class IterativeSolverType>
model::WeakProblem< DirectSolverType, IterativeSolverType >::WeakProblem ( const WeakProblem< DirectSolverType, IterativeSolverType > & )
delete

◆ WeakProblem() [3/3]

template<class DirectSolverType, class IterativeSolverType>
model::WeakProblem< DirectSolverType, IterativeSolverType >::WeakProblem ( WeakProblem< DirectSolverType, IterativeSolverType > && )
delete

Member Function Documentation

◆ affineCoefficients()

template<class DirectSolverType, class IterativeSolverType>
const Vector & model::WeakProblem< DirectSolverType, IterativeSolverType >::affineCoefficients ( ) const
inline

Definition at line 498 of file WeakProblem.h.

◆ factorizationCount()

template<class DirectSolverType, class IterativeSolverType>
size_t model::WeakProblem< DirectSolverType, IterativeSolverType >::factorizationCount ( ) const
inline

Definition at line 630 of file WeakProblem.h.

◆ operator=() [1/2]

template<class DirectSolverType, class IterativeSolverType>
WeakProblem & model::WeakProblem< DirectSolverType, IterativeSolverType >::operator= ( const WeakProblem< DirectSolverType, IterativeSolverType > & )
delete

◆ operator=() [2/2]

template<class DirectSolverType, class IterativeSolverType>
WeakProblem & model::WeakProblem< DirectSolverType, IterativeSolverType >::operator= ( WeakProblem< DirectSolverType, IterativeSolverType > && )
delete

◆ reassembleMatrix()

template<class DirectSolverType, class IterativeSolverType>
void model::WeakProblem< DirectSolverType, IterativeSolverType >::reassembleMatrix ( )
inline

Definition at line 505 of file WeakProblem.h.

◆ reducedForceVector()

template<class DirectSolverType, class IterativeSolverType>
const Vector & model::WeakProblem< DirectSolverType, IterativeSolverType >::reducedForceVector ( ) const
inline

Definition at line 626 of file WeakProblem.h.

◆ reducedMatrix()

template<class DirectSolverType, class IterativeSolverType>
Matrix model::WeakProblem< DirectSolverType, IterativeSolverType >::reducedMatrix ( ) const
inline

Definition at line 613 of file WeakProblem.h.

◆ setAffineModes()

template<class DirectSolverType, class IterativeSolverType>
void model::WeakProblem< DirectSolverType, IterativeSolverType >::setAffineModes ( const Eigen::MatrixXd & modes)
inline

Definition at line 471 of file WeakProblem.h.

◆ setLinearConstraints()

template<class DirectSolverType, class IterativeSolverType>
void model::WeakProblem< DirectSolverType, IterativeSolverType >::setLinearConstraints ( const Eigen::MatrixXd & rows)
inline

Definition at line 480 of file WeakProblem.h.

◆ setLinearConstraintValues()

template<class DirectSolverType, class IterativeSolverType>
void model::WeakProblem< DirectSolverType, IterativeSolverType >::setLinearConstraintValues ( const Vector & values)
inline

Definition at line 490 of file WeakProblem.h.

◆ setRightHandSide()

template<class DirectSolverType, class IterativeSolverType>
template<class LWF>
void model::WeakProblem< DirectSolverType, IterativeSolverType >::setRightHandSide ( std::shared_ptr< LWF > lwf)
inline

Definition at line 460 of file WeakProblem.h.

◆ solverMatrix()

template<class DirectSolverType, class IterativeSolverType>
const Matrix & model::WeakProblem< DirectSolverType, IterativeSolverType >::solverMatrix ( ) const
inline

Definition at line 622 of file WeakProblem.h.

◆ solveWithMasterSlaveConstraints()

template<class DirectSolverType, class IterativeSolverType>
WeakProblemResult model::WeakProblem< DirectSolverType, IterativeSolverType >::solveWithMasterSlaveConstraints ( )
inline

Definition at line 511 of file WeakProblem.h.


The documentation for this class was generated from the following file: