Loading...
Searching...
No Matches
newton_msr_fd Struct Reference

Structure to implement a newton object for a stationary MSR problem. More...

#include <ReducedMSR.H>

Inheritance diagram for newton_msr_fd:
newton_argument< double >

Public Member Functions

 newton_msr_fd (int Nx, int Ny, msrProblem &problem)
int operator() (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const
int df (const Eigen::VectorXd &x, Eigen::MatrixXd &fjac) const
Public Member Functions inherited from newton_argument< double >
 newton_argument ()
 Constructor.
int operator() (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const
 Operator to compute the residual vector.
int df (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const
 Operator to compute the jacobian matrix.
int inputs () const
 Return the inputs.
int values () const
 Return the values.

Public Attributes

int Nphi_u
int Nphi_p
int N_BC
scalar nu
Eigen::VectorXd BC
msrProblemproblem
Public Attributes inherited from newton_argument< double >
int m_inputs
int m_values

Additional Inherited Members

Public Types inherited from newton_argument< double >
enum  
typedef double Scalar
typedef Eigen::Matrix< Scalar, InputsAtCompileTime, 1 > InputType
typedef Eigen::Matrix< Scalar, ValuesAtCompileTime, 1 > ValueType
typedef Eigen::Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > JacobianType

Detailed Description

Structure to implement a newton object for a stationary MSR problem.

Definition at line 38 of file ReducedMSR.H.

Constructor & Destructor Documentation

◆ newton_msr_fd() [1/2]

newton_msr_fd::newton_msr_fd ( )
inline

Definition at line 41 of file ReducedMSR.H.

◆ newton_msr_fd() [2/2]

newton_msr_fd::newton_msr_fd ( int Nx,
int Ny,
msrProblem & problem )
inline

Definition at line 43 of file ReducedMSR.H.

Member Function Documentation

◆ df()

int newton_msr_fd::df ( const Eigen::VectorXd & x,
Eigen::MatrixXd & fjac ) const

Definition at line 232 of file ReducedMSR.C.

◆ operator()()

int newton_msr_fd::operator() ( const Eigen::VectorXd & x,
Eigen::VectorXd & fvec ) const

Fluid-dynamics terms

Definition at line 185 of file ReducedMSR.C.

Member Data Documentation

◆ BC

Eigen::VectorXd newton_msr_fd::BC

Definition at line 60 of file ReducedMSR.H.

◆ N_BC

int newton_msr_fd::N_BC

Definition at line 56 of file ReducedMSR.H.

◆ Nphi_p

int newton_msr_fd::Nphi_p

Definition at line 55 of file ReducedMSR.H.

◆ Nphi_u

int newton_msr_fd::Nphi_u

Definition at line 54 of file ReducedMSR.H.

◆ nu

scalar newton_msr_fd::nu

Definition at line 58 of file ReducedMSR.H.

◆ problem

msrProblem* newton_msr_fd::problem

Definition at line 61 of file ReducedMSR.H.


The documentation for this struct was generated from the following files: