Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock::solvergraph::SolverGraphConstraint Struct Reference
Collaboration diagram for shamrock::solvergraph::SolverGraphConstraint:

Public Member Functions

bool check_node (const std::shared_ptr< INode > &node) const
bool check_edge (const std::shared_ptr< IEdge > &edge) const
bool is_active () const

Static Public Member Functions

static SolverGraphConstraint no_constraint ()

Public Attributes

std::string name
SolverGraphNodeCheck node_check
SolverGraphEdgeCheck edge_check

Detailed Description

Definition at line 38 of file SolverGraph.hpp.

Member Function Documentation

◆ check_edge()

bool shamrock::solvergraph::SolverGraphConstraint::check_edge ( const std::shared_ptr< IEdge > & edge) const
inline

Definition at line 59 of file SolverGraph.hpp.

◆ check_node()

bool shamrock::solvergraph::SolverGraphConstraint::check_node ( const std::shared_ptr< INode > & node) const
inline

Definition at line 47 of file SolverGraph.hpp.

◆ is_active()

bool shamrock::solvergraph::SolverGraphConstraint::is_active ( ) const
inline

Definition at line 71 of file SolverGraph.hpp.

◆ no_constraint()

SolverGraphConstraint shamrock::solvergraph::SolverGraphConstraint::no_constraint ( )
inlinestatic

Definition at line 43 of file SolverGraph.hpp.

Member Data Documentation

◆ edge_check

SolverGraphEdgeCheck shamrock::solvergraph::SolverGraphConstraint::edge_check

Definition at line 41 of file SolverGraph.hpp.

◆ name

std::string shamrock::solvergraph::SolverGraphConstraint::name

Definition at line 39 of file SolverGraph.hpp.

◆ node_check

SolverGraphNodeCheck shamrock::solvergraph::SolverGraphConstraint::node_check

Definition at line 40 of file SolverGraph.hpp.


The documentation for this struct was generated from the following file: