MAST
|
#include <multiphysics_nonlinear_solver.h>
Classes | |
class | PreResidualUpdate |
This class provides the interface that, if provided, will be called to update any data structures before computation of residual/Jacobian at an iterate. More... | |
Public Member Functions | |
MultiphysicsNonlinearSolverBase (const libMesh::Parallel::Communicator &comm_in, const std::string &nm, unsigned int n) | |
default constructor More... | |
virtual | ~MultiphysicsNonlinearSolverBase () |
destructor More... | |
const std::string | name () const |
unsigned int | n_disciplines () const |
void | set_system_assembly (unsigned int i, MAST::TransientAssembly &assembly) |
method to set the n^th discipline of this multiphysics system assembly. More... | |
MAST::TransientAssembly & | get_system_assembly (unsigned int i) |
std::vector< IS > & | index_sets () |
Mat | mat () |
void | solve () |
solves the system using the nested matrices that uses the discipline specific solver options More... | |
void | set_pre_residual_update_object (MAST::MultiphysicsNonlinearSolverBase::PreResidualUpdate &update) |
assigns the update object to this solver More... | |
MAST::MultiphysicsNonlinearSolverBase::PreResidualUpdate * | get_pre_residual_update_object () |
returns a pointer to the update object More... | |
void | verify_gateaux_derivatives (SNES snes) |
Protected Attributes | |
const std::string | _name |
name of this multiphysics solution More... | |
const unsigned int | _n_disciplines |
number of disciplines More... | |
MAST::MultiphysicsNonlinearSolverBase::PreResidualUpdate * | _update |
object, if provided, is called to initialize the system data before computation of residual/Jacobian at an iterate More... | |
std::vector< MAST::TransientAssembly * > | _discipline_assembly |
vector of assembly objects for each discipline in this multiphysics system More... | |
std::vector< IS > | _is |
std::vector< Mat > | _sub_mats |
unsigned int | _n_dofs |
Mat | _mat |
Vec | _sol |
Vec | _res |
Definition at line 45 of file multiphysics_nonlinear_solver.h.
MAST::MultiphysicsNonlinearSolverBase::MultiphysicsNonlinearSolverBase | ( | const libMesh::Parallel::Communicator & | comm_in, |
const std::string & | nm, | ||
unsigned int | n | ||
) |
default constructor
Definition at line 392 of file multiphysics_nonlinear_solver.cpp.
|
virtual |
destructor
Definition at line 410 of file multiphysics_nonlinear_solver.cpp.
|
inline |
returns a pointer to the update object
Definition at line 171 of file multiphysics_nonlinear_solver.h.
MAST::TransientAssembly & MAST::MultiphysicsNonlinearSolverBase::get_system_assembly | ( | unsigned int | i | ) |
Definition at line 435 of file multiphysics_nonlinear_solver.cpp.
|
inline |
Definition at line 103 of file multiphysics_nonlinear_solver.h.
|
inline |
Definition at line 112 of file multiphysics_nonlinear_solver.h.
|
inline |
Definition at line 76 of file multiphysics_nonlinear_solver.h.
|
inline |
Definition at line 67 of file multiphysics_nonlinear_solver.h.
|
inline |
assigns the update object to this solver
Definition at line 161 of file multiphysics_nonlinear_solver.h.
void MAST::MultiphysicsNonlinearSolverBase::set_system_assembly | ( | unsigned int | i, |
MAST::TransientAssembly & | assembly | ||
) |
method to set the n^th discipline of this multiphysics system assembly.
Definition at line 419 of file multiphysics_nonlinear_solver.cpp.
void MAST::MultiphysicsNonlinearSolverBase::solve | ( | ) |
solves the system using the nested matrices that uses the discipline specific solver options
Definition at line 449 of file multiphysics_nonlinear_solver.cpp.
void MAST::MultiphysicsNonlinearSolverBase::verify_gateaux_derivatives | ( | SNES | snes | ) |
Definition at line 749 of file multiphysics_nonlinear_solver.cpp.
|
protected |
vector of assembly objects for each discipline in this multiphysics system
Definition at line 203 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 205 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 209 of file multiphysics_nonlinear_solver.h.
|
protected |
number of disciplines
Definition at line 191 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 207 of file multiphysics_nonlinear_solver.h.
|
protected |
name of this multiphysics solution
Definition at line 186 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 210 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 210 of file multiphysics_nonlinear_solver.h.
|
protected |
Definition at line 206 of file multiphysics_nonlinear_solver.h.
|
protected |
object, if provided, is called to initialize the system data before computation of residual/Jacobian at an iterate
Definition at line 197 of file multiphysics_nonlinear_solver.h.