piglot

Examples

  • Curve Fitting
  • Response Design
  • Analytical Objectives
  • Post-processing results

Advanced Options

  • Solver Options

Input file templates

  • Input File Options
  • Optimiser options
  • Solver options

Reference

  • API
    • piglot.bin
    • piglot.objective
    • piglot.objectives
    • piglot.optimiser
    • piglot.optimisers
    • piglot.parameter
    • piglot.solver
      • piglot.solver.read_solver
      • piglot.solver.curve
      • piglot.solver.input_file_solver
      • piglot.solver.links
        • piglot.solver.links.fields
        • piglot.solver.links.solver
      • piglot.solver.multi_case_solver
      • piglot.solver.script_solver
      • piglot.solver.solver
    • piglot.utils
  • Integration with solvers
  • Papers
piglot
  • piglot
  • piglot.solver
  • piglot.solver.links
  • piglot.solver.links.fields
  • piglot.solver.links.fields.Reaction
  • View page source

piglot.solver.links.fields.Reaction

class Reaction(field: str, group: int = 1)[source]

Bases: OutputField

Reaction outputs reader.

Methods

check

Sanity checks on the input file.

get

Reads reactions from a Links analysis.

read

Read the output field from the configuration dictionary.

check(input_data: InputData) → None[source]

Sanity checks on the input file.

This checks if: - we are reading the reactions of a macroscopic analysis; - the file has NODE_GROUPS outputs.

Parameters

input_dataInputData

Input data for this case.

Raises

RuntimeError

If not reading a macroscopic analysis file.

RuntimeError

If reaction output is not requested in the input file.

get(input_data: InputData) → OutputResult[source]

Reads reactions from a Links analysis.

Parameters

input_dataInputData

Input data for this case.

Returns

array

2D array with load factor in the first column and reactions in the second.

classmethod read(config: Dict[str, Any]) → Reaction[source]

Read the output field from the configuration dictionary.

Parameters

configDict[str, Any]

Configuration dictionary.

Returns

Reaction

Output field to use for this problem.

Previous Next

© Copyright 2025, CM2S.

Built with Sphinx using a theme provided by Read the Docs.