- See also
 - WmVariable 
 
- 
unstructuredArray 
 
 | 
| def  | __init__ (self, name, components, explodable=True, basis_array_set=None, subdomains=None, virtual_subdomains=None, phase_space_basis_array_set=None, v_space_num_elements=None) | 
|   | 
| def  | components (self, with_varname=False, stage=None, others=None) | 
|   | Gets the list of components in this variable.  
  | 
|   | 
| def  | name (self, stage=None) | 
|   | Gets the name of this variable.  
  | 
|   | 
| def  | __repr__ (self) | 
|   | Give variables a readable string representation.  
  | 
|   | 
◆ __init__()
      
        
          | def warpy.variable.variable.__init__  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          name,  | 
        
        
           | 
           | 
            | 
          components,  | 
        
        
           | 
           | 
            | 
          explodable = True,  | 
        
        
           | 
           | 
            | 
          basis_array_set = None,  | 
        
        
           | 
           | 
            | 
          subdomains = None,  | 
        
        
           | 
           | 
            | 
          virtual_subdomains = None,  | 
        
        
           | 
           | 
            | 
          phase_space_basis_array_set = None,  | 
        
        
           | 
           | 
            | 
          v_space_num_elements = None  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | name | variable name  | 
    | components | list of components in this variable  | 
    | explodable | True to explode this variable with RK stages  | 
    | BasisArraySet | DG Basis array set name  | 
    | subdomains | physical subdomains this variable exists on  | 
    | virtual_subdomains | subdomains this variable is allocated for, but don't physically exist on  | 
  
   
 
 
◆ __repr__()
      
        
          | def warpy.variable.variable.__repr__  | 
          ( | 
            | 
          self | ) | 
           | 
        
      
 
Give variables a readable string representation. 
For use in debugging. 
 
 
◆ components()
      
        
          | def warpy.variable.variable.components  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          with_varname = False,  | 
        
        
           | 
           | 
            | 
          stage = None,  | 
        
        
           | 
           | 
            | 
          others = None  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gets the list of components in this variable. 
- Parameters
 - 
  
    | with_varname | True to prepend variable name  | 
    | stage | what stage to use for  | 
  
   
 
 
◆ name()
      
        
          | def warpy.variable.variable.name  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          stage = None  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gets the name of this variable. 
- Parameters
 - 
  
    | stage | None to get the base name, else a number to get the exploded RK stage name  | 
  
   
 
 
◆ explodable
      
        
          | warpy.variable.variable.explodable | 
        
      
 
 
◆ subdomains
      
        
          | warpy.variable.variable.subdomains | 
        
      
 
 
The documentation for this class was generated from the following file: