argiope/materials.py
def write_inp(self):
    """
    Returns the material definition as a string in Abaqus INP format.
    """
    template = self.get_template()
    plastic_table = self.get_plastic_table()
    return template.substitute({
        "class": self.__class__.__name__,
        "label": self.label,
        "young_modulus": self.young_modulus,
        "poisson_ratio": self.poisson_ratio,
        "plastic_table": (self.get_plastic_table()[["stress", "plastic_strain"]]
                          .to_csv(header = False, 
                                  index = False,
                                  sep = ",").strip())}).strip()
def write_inp(self):
    """
    Returns the material definition as a string in Abaqus INP format.
    """
    template = self.get_template()
    plastic_table = self.get_plastic_table()
    return template.substitute({
        "class": self.__class__.__name__,
        "label": self.label,
        "young_modulus": self.young_modulus,
        "poisson_ratio": self.poisson_ratio,
        "plastic_table": (self.get_plastic_table()[["stress", "plastic_strain"]]
                          .to_csv(header = False, 
                                  index = False,
                                  sep = ",").strip())}).strip()
Returns the material definition as a string in Abaqus INP format.