lsdo_genie.utils.GenieCSDLModels

Module Contents

Classes

Genie2DCSDLModel

Computational System Design Language (CSDL) interface for using lsdo_genie in gradient-based

Genie3DCSDLModel

Computational System Design Language (CSDL) interface for using lsdo_genie in gradient-based

class lsdo_genie.utils.GenieCSDLModels.Genie2DCSDLModel

Bases: csdl.CustomExplicitOperation

Computational System Design Language (CSDL) interface for using lsdo_genie in gradient-based optimization for 2D geometric shapes

Parameters:
num_ptsint

Number of points in the input

x_namestr

CSDL variable name of the x-coordinate of the input points

y_namestr

CSDL variable name of the y-coordinate of the input points

out_namestr

CSDL variable name of the output phi

genie_objectlsdo_genie.Genie2D

The genie object to be used in the model to compute phi

compute(inputs, outputs)

compute

compute_derivatives(inputs, derivatives)

compute_derivatives

define()

define

initialize()

initialize

class lsdo_genie.utils.GenieCSDLModels.Genie3DCSDLModel

Bases: csdl.CustomExplicitOperation

Computational System Design Language (CSDL) interface for using lsdo_genie in gradient-based optimization for 3D geometric shapes

Parameters:
num_ptsint

Number of points in the input

x_namestr

CSDL variable name of the x-coordinate of the input points

y_namestr

CSDL variable name of the y-coordinate of the input points

z_namestr

CSDL variable name of the z-coordinate of the input points

out_namestr

CSDL variable name of the output phi

genie_objectlsdo_genie.Genie2D

The genie object to be used in the model to compute phi

compute(inputs, outputs)

compute

compute_derivatives(inputs, derivatives)

compute_derivatives

define()

define

initialize()

initialize