Exemple #1
0
    def set_mesh_coors(self, coors, update_fields=False, actual=False, clear_all=True):
        """
        Set mesh coordinates.

        Parameters
        ----------
        coors : array
            The new coordinates.
        update_fields : bool
            If True, update also coordinates of fields.
        actual : bool
            If True, update the actual configuration coordinates,
            otherwise the undeformed configuration ones.
        """
        fea.set_mesh_coors(
            self.domain, self.fields, coors, update_fields=update_fields, actual=actual, clear_all=clear_all
        )
Exemple #2
0
    def set_mesh_coors(self,
                       coors,
                       update_fields=False,
                       actual=False,
                       clear_all=True):
        """
        Set mesh coordinates.

        Parameters
        ----------
        coors : array
            The new coordinates.
        update_fields : bool
            If True, update also coordinates of fields.
        actual : bool
            If True, update the actual configuration coordinates,
            otherwise the undeformed configuration ones.
        """
        fea.set_mesh_coors(self.domain,
                           self.fields,
                           coors,
                           update_fields=update_fields,
                           actual=actual,
                           clear_all=clear_all)
Exemple #3
0
 def set_mesh_coors(self, coors, update_state=False):
     fea.set_mesh_coors(self.domain, self.fields, self.geometries, coors, update_state)