Пример #1
0
 def __init__(self, *args):
     """
     __init__(mfem::FiniteElementSpace self) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, FiniteElementSpace orig, Mesh mesh=None, FiniteElementCollection fec=None) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, FiniteElementSpace orig, Mesh mesh=None) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, FiniteElementSpace orig) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, FiniteElementCollection fec, int vdim=1, int ordering) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, FiniteElementCollection fec, int vdim=1) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, FiniteElementCollection fec) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, mfem::NURBSExtension * ext, FiniteElementCollection fec, int vdim=1, int ordering) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, mfem::NURBSExtension * ext, FiniteElementCollection fec, int vdim=1) -> FiniteElementSpace
     __init__(mfem::FiniteElementSpace self, Mesh mesh, mfem::NURBSExtension * ext, FiniteElementCollection fec) -> FiniteElementSpace
     """
     this = _fespace.new_FiniteElementSpace(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
     '''
         FiniteElementSpace(Mesh *m, const FiniteElementCollection *f,
                       int vdim = 1, int ordering = Ordering::byNODES);
         keep reference to mesh and fec to prevent it from
         freeed from pytho garbage collector
     '''
     if hasattr(self, 'this'):
         self.mesh = args[0]
         self.fec = args[1]
Пример #2
0
 def __init__(self, *args):
     this = _fespace.new_FiniteElementSpace(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
     '''
         FiniteElementSpace(Mesh *m, const FiniteElementCollection *f,
                       int vdim = 1, int ordering = Ordering::byNODES);
         keep reference to mesh and fec to prevent it from
         freeed from pytho garbage collector
     '''
     if hasattr(self, 'this'):
         self.mesh = args[0]
         self.fec = args[1]
Пример #3
0
 def __init__(self, *args):
     r"""
     __init__(FiniteElementSpace self) -> FiniteElementSpace
     __init__(FiniteElementSpace self, FiniteElementSpace orig, Mesh mesh=None, FiniteElementCollection fec=None) -> FiniteElementSpace
     __init__(FiniteElementSpace self, Mesh mesh, FiniteElementCollection fec, int vdim=1, int ordering=byNODES) -> FiniteElementSpace
     __init__(FiniteElementSpace self, Mesh mesh, mfem::NURBSExtension * ext, FiniteElementCollection fec, int vdim=1, int ordering=byNODES) -> FiniteElementSpace
     """
     _fespace.FiniteElementSpace_swiginit(
         self, _fespace.new_FiniteElementSpace(*args))
     '''
         FiniteElementSpace(Mesh *m, const FiniteElementCollection *f,
                       int vdim = 1, int ordering = Ordering::byNODES);
         keep reference to mesh and fec to prevent it from
         freeed from pytho garbage collector
     '''
     if hasattr(self, 'this'):
         self.mesh = args[0]
         self.fec = args[1]