svMultiPhysics
Loading...
Searching...
No Matches
eqType Class Reference

Equation type. More...

#include <ComMod.h>

Public Attributes

bool coupled = false
 Should be satisfied in a coupled/uncoupled fashion.
bool ok = false
 Satisfied/not satisfied.
bool useTLS = false
 Use C++ Trilinos framework for the linear solvers.
bool assmTLS = false
 Use C++ Trilinos framework for assembly and for linear solvers.
int dof = 0
 Degrees of freedom.
int e = -1
 Pointer to end of unknown Yo(:,s:e).
int s = -1
 Pointer to start of unknown Yo(:,s:e).
int itr = 0
 Number of performed iterations.
int maxItr = 5
 Maximum iteration for this eq.
int minItr = 1
 Minimum iteration for this eq.
int nOutput = 0
 Number of possible outputs.
int nOutIB = 0
 IB: Number of possible outputs.
int nOutURIS = 0
 URIS: Number of possible outputs.
int nDmn = 0
 Number of domains.
int nDmnIB = 0
 IB: Number of immersed domains.
int nBc = 0
 Number of BCs.
int nBcIB = 0
 Number of BCs on immersed surfaces.
int nBf = 0
 Number of BFs.
consts::EquationType phys = consts::EquationType::phys_NA
 Type of equation fluid/heatF/heatS/lElas/FSI.
double af = 0.0
 \(\alpha_f\)
double am = 0.0
 \(\alpha_m\)
double beta = 0.0
 \(\beta\)
double gam = 0.0
 \(\gamma\)
double iNorm = 0.0
 Initial norm of residual.
double pNorm = 0.0
 First iteration norm.
double roInf = 0.0
 \(\rho_{infinity}\)
double tol = 0.0
 Accepted relative tolerance.
std::string sym
 Equation symbol.
lsType ls
 type of linear solver
consts::LinearAlgebraType linear_algebra_type
 The type of interface to a numerical linear algebra library.
consts::LinearAlgebraType linear_algebra_assembly_type
 The type of assembly interface to a numerical linear algebra library.
consts::PreconditionerType linear_algebra_preconditioner = consts::PreconditionerType::PREC_FSILS
 The type of preconditioner used by the interface to a numerical linear algebra library.
LinearAlgebra * linear_algebra = nullptr
 Interface to a numerical linear algebra library.
fsi_linear_solver::FSILS_lsType FSILS
 FSILS type of linear solver.
std::vector< bcType > bc
 BCs associated with this equation;.
std::vector< bcType > bcIB
 IB: BCs associated with this equation on immersed surfaces.
std::vector< dmnType > dmn
 domains that this equation must be solved
std::vector< dmnType > dmnIB
 IB: immersed domains that this equation must be solved.
std::vector< outputType > output
 Outputs.
std::vector< outputType > outIB
 IB: Outputs.
std::vector< outputType > outURIS
 URIS: Outputs.
bool expl_geom_cpl = false
 Explicit geometry coupling.
std::vector< bfType > bf
 Body force associated with this equation.
Line search settings.
bool line_search_enabled = false
 Toggle line search for this equation.
double line_search_minimum_decrease = 0.0
 Minimum decrease of the residual norm for line search.
double line_search_step_reduction_factor = 0.0
 Line search step reduction factor.
double line_search_minimum_step_length = 0.0
 Line search minimum step length.
bool line_search_verbose = false
 If enabled, report line search progress to stdout.

Detailed Description

Equation type.

Member Data Documentation

◆ af

double eqType::af = 0.0

\(\alpha_f\)

◆ am

double eqType::am = 0.0

\(\alpha_m\)

For second order equations: am = (2.0 - roInf) / (1.0 + roInf) First order equations: am = 0.5 * (3.0 - roInf) / (1.0 + roInf)

◆ assmTLS

bool eqType::assmTLS = false

Use C++ Trilinos framework for assembly and for linear solvers.

◆ bc

std::vector<bcType> eqType::bc

BCs associated with this equation;.

◆ bcIB

std::vector<bcType> eqType::bcIB

IB: BCs associated with this equation on immersed surfaces.

◆ beta

double eqType::beta = 0.0

\(\beta\)

◆ bf

std::vector<bfType> eqType::bf

Body force associated with this equation.

◆ coupled

bool eqType::coupled = false

Should be satisfied in a coupled/uncoupled fashion.

◆ dmn

std::vector<dmnType> eqType::dmn

domains that this equation must be solved

◆ dmnIB

std::vector<dmnType> eqType::dmnIB

IB: immersed domains that this equation must be solved.

◆ dof

int eqType::dof = 0

Degrees of freedom.

◆ e

int eqType::e = -1

Pointer to end of unknown Yo(:,s:e).

◆ expl_geom_cpl

bool eqType::expl_geom_cpl = false

Explicit geometry coupling.

◆ FSILS

fsi_linear_solver::FSILS_lsType eqType::FSILS

FSILS type of linear solver.

◆ gam

double eqType::gam = 0.0

\(\gamma\)

◆ iNorm

double eqType::iNorm = 0.0

Initial norm of residual.

◆ itr

int eqType::itr = 0

Number of performed iterations.

◆ line_search_enabled

bool eqType::line_search_enabled = false

Toggle line search for this equation.

See the documentation of Integrator for additional details.

◆ line_search_minimum_decrease

double eqType::line_search_minimum_decrease = 0.0

Minimum decrease of the residual norm for line search.

A step is accepted if it decreases the residual norm by at least this fraction, relative to the norm at the start of the step.

See the documentation of Integrator for additional details.

◆ line_search_minimum_step_length

double eqType::line_search_minimum_step_length = 0.0

Line search minimum step length.

A line search step shorter than or equal to this length is accepted unconditionally. Must be non-negative.

See the documentation of Integrator for additional details.

◆ line_search_step_reduction_factor

double eqType::line_search_step_reduction_factor = 0.0

Line search step reduction factor.

If a step is rejected, the step length is multiplied by this factor for the next trial. Must be in the range (0, 1).

See the documentation of Integrator for additional details.

◆ line_search_verbose

bool eqType::line_search_verbose = false

If enabled, report line search progress to stdout.

See the documentation of Integrator for additional details.

◆ linear_algebra

LinearAlgebra* eqType::linear_algebra = nullptr

Interface to a numerical linear algebra library.

◆ linear_algebra_assembly_type

consts::LinearAlgebraType eqType::linear_algebra_assembly_type

The type of assembly interface to a numerical linear algebra library.

◆ linear_algebra_preconditioner

consts::PreconditionerType eqType::linear_algebra_preconditioner = consts::PreconditionerType::PREC_FSILS

The type of preconditioner used by the interface to a numerical linear algebra library.

◆ linear_algebra_type

consts::LinearAlgebraType eqType::linear_algebra_type

The type of interface to a numerical linear algebra library.

◆ ls

lsType eqType::ls

type of linear solver

◆ maxItr

int eqType::maxItr = 5

Maximum iteration for this eq.

◆ minItr

int eqType::minItr = 1

Minimum iteration for this eq.

◆ nBc

int eqType::nBc = 0

Number of BCs.

◆ nBcIB

int eqType::nBcIB = 0

Number of BCs on immersed surfaces.

◆ nBf

int eqType::nBf = 0

Number of BFs.

◆ nDmn

int eqType::nDmn = 0

Number of domains.

◆ nDmnIB

int eqType::nDmnIB = 0

IB: Number of immersed domains.

◆ nOutIB

int eqType::nOutIB = 0

IB: Number of possible outputs.

◆ nOutput

int eqType::nOutput = 0

Number of possible outputs.

◆ nOutURIS

int eqType::nOutURIS = 0

URIS: Number of possible outputs.

◆ ok

bool eqType::ok = false

Satisfied/not satisfied.

◆ outIB

std::vector<outputType> eqType::outIB

IB: Outputs.

◆ output

std::vector<outputType> eqType::output

Outputs.

◆ outURIS

std::vector<outputType> eqType::outURIS

URIS: Outputs.

◆ phys

consts::EquationType eqType::phys = consts::EquationType::phys_NA

Type of equation fluid/heatF/heatS/lElas/FSI.

◆ pNorm

double eqType::pNorm = 0.0

First iteration norm.

◆ roInf

double eqType::roInf = 0.0

\(\rho_{infinity}\)

◆ s

int eqType::s = -1

Pointer to start of unknown Yo(:,s:e).

◆ sym

std::string eqType::sym

Equation symbol.

◆ tol

double eqType::tol = 0.0

Accepted relative tolerance.

◆ useTLS

bool eqType::useTLS = false

Use C++ Trilinos framework for the linear solvers.


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