47 #ifndef Xyce_N_NLS_NOX_AugmentLinSys_GStepping_h
48 #define Xyce_N_NLS_NOX_AugmentLinSys_GStepping_h
52 #include "Teuchos_RCP.hpp"
55 class Epetra_MapColoring;
79 GStepping(
const std::vector<int>& vnodeGIDVec,
80 Xyce::Linear::Vector* cloneVector,
86 <Epetra_MapColoring>& color_map,
87 Xyce::Linear::Vector* cloneVector,
97 Xyce::Linear::Vector * residual_vector);
void setProgressVariable(double time_step_size)
Set the progress variable (time step size for pseudo transient).
Pure virtual class to augment a linear system.
double scaled_end_value_
low end of the exponential term.
GStepping(const std::vector< int > &vnodeGIDVec, Xyce::Linear::Vector *cloneVector, double endValue, double residCond=0)
Ctor for the voltage nodes as a GID list.
void augmentResidual(const Xyce::Linear::Vector *solution, Xyce::Linear::Vector *residual_vector)
Augments the Residual.
double conductance_
Conductance.
void augmentJacobian(Xyce::Linear::Matrix *jacobian)
Augments the Jacobian.
double residualConductance_
residual value of the conductance. Should almost always be zero
const std::vector< int > vnodeGIDVec_
List of voltage node GIDs.
NodeListType node_list_type_
Type of list we are using.
void setResidualConductance(double c)
Teuchos::RCP< Epetra_MapColoring > color_map_
Color 0 are the voltage unknowns.
Xyce::Linear::Vector * tmp_vector_ptr_
Temporary vector used to store diagonal.