MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_ROp_fraction_to_boundary.h File Reference
#include "RTOp.h"
#include "RTOp_obj_value_vtbl.h"
Include dependency graph for RTOp_ROp_fraction_to_boundary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_fraction_to_boundary_vtbl
 
int RTOp_ROp_fraction_to_boundary_construct (RTOp_value_type tau, struct RTOp_RTOp *op)
 
int RTOp_ROp_fraction_to_boundary_destroy (struct RTOp_RTOp *op)
 
int RTOp_ROp_fraction_to_boundary_init (RTOp_value_type tau, struct RTOp_RTOp *op)
 
RTOp_value_type RTOp_ROp_fraction_to_boundary_val (RTOp_ReductTarget reduct_obj)
 

Detailed Description

element-wise reduction:
    if (v1 < 0)
       { alpha_max_ith = tau*(v0-v2)/(-v1); }
    else
       { alpha_max_ith = tau*(v3-v0)/v1; }

This operator class implementation was created automatically by 'new_rtop.pl'.

This operator returns alpha_max as calculated by the fraction to boundary rule

Definition in file RTOp_ROp_fraction_to_boundary.h.

Function Documentation

int RTOp_ROp_fraction_to_boundary_construct ( RTOp_value_type  tau,
struct RTOp_RTOp op 
)

Definition at line 174 of file RTOp_ROp_fraction_to_boundary.c.

int RTOp_ROp_fraction_to_boundary_destroy ( struct RTOp_RTOp op)

Definition at line 185 of file RTOp_ROp_fraction_to_boundary.c.

int RTOp_ROp_fraction_to_boundary_init ( RTOp_value_type  tau,
struct RTOp_RTOp op 
)

Definition at line 193 of file RTOp_ROp_fraction_to_boundary.c.

RTOp_value_type RTOp_ROp_fraction_to_boundary_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 199 of file RTOp_ROp_fraction_to_boundary.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_fraction_to_boundary_vtbl

Definition at line 161 of file RTOp_ROp_fraction_to_boundary.c.