MOAB: Mesh Oriented datABase  (version 5.3.1)
MBMesquite::NonSmoothDescent::ActiveSet Struct Reference

#include <NonSmoothDescent.hpp>

Public Member Functions

void set (int index)
void add (int index, bool equal)

Public Attributes

int num_equal
double true_active_value
std::vector< int > active_ind

Detailed Description

Definition at line 68 of file NonSmoothDescent.hpp.


Member Function Documentation

void MBMesquite::NonSmoothDescent::ActiveSet::add ( int  index,
bool  equal 
) [inline]

Definition at line 80 of file NonSmoothDescent.hpp.

References active_ind, and num_equal.

Referenced by MBMesquite::NonSmoothDescent::find_active_set().

        {
            active_ind.push_back( index );
            num_equal += equal;
        }
void MBMesquite::NonSmoothDescent::ActiveSet::set ( int  index) [inline]

Definition at line 74 of file NonSmoothDescent.hpp.

References active_ind, and num_equal.

Referenced by MBMesquite::NonSmoothDescent::find_active_set().

        {
            active_ind.clear();
            active_ind.push_back( index );
            num_equal = 0;
        }

Member Data Documentation

Definition at line 70 of file NonSmoothDescent.hpp.

Referenced by add(), and set().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines