www.mooseframework.org
Namespaces | Functions | Variables
Moose.C File Reference

Go to the source code of this file.

Namespaces

 Moose
 

Functions

void MooseVecView (NumericVector< Number > &vector)
 
void MooseMatView (SparseMatrix< Number > &mat)
 
void Moose::associateSyntaxInner (Syntax &syntax, ActionFactory &action_factory)
 
void Moose::registerAll (Factory &f, ActionFactory &af, Syntax &s)
 Register objects that are in MOOSE. More...
 
void Moose::registerObjects (Factory &factory)
 
void Moose::registerObjects (Factory &factory, const std::set< std::string > &obj_labels)
 
void Moose::addActionTypes (Syntax &syntax)
 
void Moose::registerActions (Syntax &syntax, ActionFactory &action_factory)
 Multiple Action class can be associated with a single input file section, in which case all associated Actions will be created and "acted" on when the associated input file section is seen. More...
 
void Moose::registerActions (Syntax &syntax, ActionFactory &action_factory, const std::set< std::string > &obj_labels)
 
void Moose::registerExecFlags (Factory &factory)
 
void Moose::associateSyntax (Syntax &syntax, ActionFactory &action_factory)
 
void Moose::setSolverDefaults (FEProblemBase &problem)
 
MPI_Comm Moose::swapLibMeshComm (MPI_Comm new_comm)
 Swap the libMesh MPI communicator out for ours. More...
 
bool Moose::colorConsole ()
 Returns whether Console coloring is turned on (default: true). More...
 
bool Moose::setColorConsole (bool use_color, bool force=false)
 Turns color escape sequences on/off for info written to stdout. More...
 

Variables

const ExecFlagType EXEC_NONE ("NONE", 0x00)
 
const ExecFlagType EXEC_INITIAL ("INITIAL", 0x01)
 
const ExecFlagType EXEC_LINEAR ("LINEAR", 0x02)
 
const ExecFlagType EXEC_NONLINEAR ("NONLINEAR", 0x04)
 
const ExecFlagType EXEC_TIMESTEP_END ("TIMESTEP_END", 0x08)
 
const ExecFlagType EXEC_TIMESTEP_BEGIN ("TIMESTEP_BEGIN", 0x10)
 
const ExecFlagType EXEC_FINAL ("FINAL", 0x20)
 
const ExecFlagType EXEC_FORCED ("FORCED", 0x40)
 
const ExecFlagType EXEC_FAILED ("FAILED", 0x80)
 
const ExecFlagType EXEC_CUSTOM ("CUSTOM", 0x100)
 
const ExecFlagType EXEC_SUBDOMAIN ("SUBDOMAIN", 0x200)
 
const ExecFlagType EXEC_PRE_DISPLACE ("PRE_DISPLACE")
 
const ExecFlagType EXEC_SAME_AS_MULTIAPP ("SAME_AS_MULTIAPP")
 
const ExecFlagType EXEC_PRE_MULTIAPP_SETUP ("PRE_MULTIAPP_SETUP")
 
const ExecFlagType EXEC_TRANSFER ("TRANSFER")
 
static bool Moose::_color_console = isatty(fileno(stdout))
 

Function Documentation

◆ MooseMatView()

void MooseMatView ( SparseMatrix< Number > &  mat)

Definition at line 58 of file Moose.C.

59 {
60  PetscMatrix<Number> & petsc_mat = static_cast<PetscMatrix<Number> &>(mat);
61  MatView(petsc_mat.mat(), 0);
62 }

◆ MooseVecView()

void MooseVecView ( NumericVector< Number > &  vector)

Definition at line 51 of file Moose.C.

52 {
53  PetscVector<Number> & petsc_vec = static_cast<PetscVector<Number> &>(vector);
54  VecView(petsc_vec.vec(), 0);
55 }

Variable Documentation

◆ EXEC_CUSTOM

const ExecFlagType EXEC_CUSTOM("CUSTOM", 0x100)

◆ EXEC_FAILED

const ExecFlagType EXEC_FAILED("FAILED", 0x80)

◆ EXEC_FINAL

const ExecFlagType EXEC_FINAL("FINAL", 0x20)

◆ EXEC_FORCED

const ExecFlagType EXEC_FORCED("FORCED", 0x40)

◆ EXEC_INITIAL

const ExecFlagType EXEC_INITIAL("INITIAL", 0x01)

◆ EXEC_LINEAR

const ExecFlagType EXEC_LINEAR("LINEAR", 0x02)

◆ EXEC_NONE

const ExecFlagType EXEC_NONE("NONE", 0x00)

◆ EXEC_NONLINEAR

const ExecFlagType EXEC_NONLINEAR("NONLINEAR", 0x04)

◆ EXEC_PRE_DISPLACE

const ExecFlagType EXEC_PRE_DISPLACE("PRE_DISPLACE")

◆ EXEC_PRE_MULTIAPP_SETUP

const ExecFlagType EXEC_PRE_MULTIAPP_SETUP("PRE_MULTIAPP_SETUP")

◆ EXEC_SAME_AS_MULTIAPP

const ExecFlagType EXEC_SAME_AS_MULTIAPP("SAME_AS_MULTIAPP")

◆ EXEC_SUBDOMAIN

const ExecFlagType EXEC_SUBDOMAIN("SUBDOMAIN", 0x200)

◆ EXEC_TIMESTEP_BEGIN

const ExecFlagType EXEC_TIMESTEP_BEGIN("TIMESTEP_BEGIN", 0x10)

◆ EXEC_TIMESTEP_END

const ExecFlagType EXEC_TIMESTEP_END("TIMESTEP_END", 0x08)

◆ EXEC_TRANSFER

const ExecFlagType EXEC_TRANSFER("TRANSFER")