NLMech  0.1.0
inp::SolverDeck Struct Reference

Structure to read and store solver related input data. More...

#include <solverDeck.h>

Collaboration diagram for inp::SolverDeck:
Collaboration graph

Public Member Functions

void print (int nt=0, int lvl=0) const
 Prints the information about the instance of the object. More...
 
std::string printStr (int nt=0, int lvl=0) const
 Returns the string containing information about the instance of the object. More...
 
 SolverDeck ()
 Constructor.
 

Data Fields

int d_maxIters
 Maximum iterations.
 
double d_perturbation
 Perturbation for the finite difference approximation in the implicit time integration.
 
std::string d_solverType
 Solver type.
 
double d_tol
 Tolerance.
 

Detailed Description

Structure to read and store solver related input data.

Member Function Documentation

◆ print()

void inp::SolverDeck::print ( int  nt = 0,
int  lvl = 0 
) const
inline

Prints the information about the instance of the object.

Parameters
ntNumber of tabs to append before each line of string
lvlLevel of information sought (higher level means more information)
Here is the call graph for this function:

◆ printStr()

std::string inp::SolverDeck::printStr ( int  nt = 0,
int  lvl = 0 
) const
inline

Returns the string containing information about the instance of the object.

Parameters
ntNumber of tabs to append before each line of string
lvlLevel of information sought (higher level means more information)
Returns
string String containing information about this object

Referenced by print().

Here is the call graph for this function:
Here is the caller graph for this function:

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