SimiLie
Loading...
Searching...
No Matches
generate_cpp_constitutive_law Namespace Reference

Classes

class  ConstitutiveLawDefinition
 

Functions

str _replace_symbols (str expression, dict[str, str] replacements)
 
str _render_expression (expression, symbol, str rendered_symbol, dict[str, str] replacements)
 
None write_cpp_constitutive_law_header (Path output_path, str namespace, str class_name, list[tuple[str, str, bool]] parameters, list[str] variables, str output_variable, constitutive_law)
 
None generate_cpp_constitutive_law (functor_class, Path output_path, *args, **kwargs)
 

Function Documentation

◆ _replace_symbols()

str generate_cpp_constitutive_law._replace_symbols ( str expression,
dict[str, str] replacements )
protected

Definition at line 24 of file generate_cpp_constitutive_law.py.

◆ _render_expression()

str generate_cpp_constitutive_law._render_expression ( expression,
symbol,
str rendered_symbol,
dict[str, str] replacements )
protected

Definition at line 30 of file generate_cpp_constitutive_law.py.

◆ write_cpp_constitutive_law_header()

None generate_cpp_constitutive_law.write_cpp_constitutive_law_header ( Path output_path,
str namespace,
str class_name,
list[tuple[str, str, bool]] parameters,
list[str] variables,
str output_variable,
constitutive_law )

Definition at line 38 of file generate_cpp_constitutive_law.py.

◆ generate_cpp_constitutive_law()

None generate_cpp_constitutive_law.generate_cpp_constitutive_law ( functor_class,
Path output_path,
* args,
** kwargs )

Definition at line 149 of file generate_cpp_constitutive_law.py.