DPsim
Loading...
Searching...
No Matches
MNANonlinearCompInterface.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MPL-2.0
2#pragma once
4#include <memory>
5#include <vector>
6
7namespace CPS {
15public:
16 using Ptr = std::shared_ptr<MNANonlinearCompInterface>;
17 using List = std::vector<Ptr>;
18 virtual ~MNANonlinearCompInterface() = default;
19 virtual bool mnaCheckNonlinearConvergence(const Matrix &solution) = 0;
20 virtual void mnaPrepareNonlinearIteration() = 0;
21};
22} // namespace CPS
virtual bool mnaCheckNonlinearConvergence(const Matrix &solution)=0
virtual ~MNANonlinearCompInterface()=default
virtual void mnaPrepareNonlinearIteration()=0
std::shared_ptr< MNANonlinearCompInterface > Ptr
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > Matrix
Dense matrix for real numbers.
Definition Definitions.h:79