Package esys :: Package escript :: Module escriptcpp :: Class ContinuousDomain
[hide private]
[frames] | no frames]

Class ContinuousDomain

 object --+        
          |        
??.instance --+    
              |    
         Domain --+
                  |
                 ContinuousDomain
Known Subclasses:

Class representing continuous domains
Instance Methods [hide private]
 
addPDEToRHS(...)
adds a PDE onto the stiffness matrix mat and a rhs
 
addPDEToSystem(...)
adds a PDE onto the stiffness matrix mat and a rhs
 
addPDEToTransportProblem(...)
tuple
getDataShape(...)
Returns: a pair (dps, ns) where dps=the number of data points per sample, and ns=the number of samples
string
getDescription(...)
Returns: a description for this domain
int
getNumDataPointsGlobal(...)
Returns: the number of data points summed across all MPI processes
int
getSystemMatrixTypeId(...)
Returns: the identifier of the matrix type to be used for the global stiffness matrix when a particular solver package and symmetric matrix is used.
 
getTransportTypeId(...)
getTransportTypeId( (ContinuousDomain)arg1, (int)solver, (int)preconditioner, (int)package, (bool)symmetry) -> int
 
newOperator(...)
creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros
 
newTransportProblem(...)
creates a TransportProblemAdapter
 
print_mesh_info(...)
 
setX(...)
assigns new location to the domain

Inherited from Domain: MPIBarrier, __eq__, __init__, __ne__, __reduce__, dump, getDim, getMPIRank, getMPISize, getNormal, getSize, getStatus, getTag, getX, isValidTagName, onMasterProcessor, saveDX, saveVTK, setTagMap, showTagNames, supportsContactElements

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

addPDEToRHS(...)

 
addPDEToRHS( (ContinuousDomain)arg1, (Data)rhs, (Data)X, (Data)Y, (Data)y, (Data)y_contact, (Data)d_dirac) -> None :
adds a PDE onto the stiffness matrix mat and a rhs
Parameters:

addPDEToSystem(...)

 
addPDEToSystem( (ContinuousDomain)arg1, (Operator)mat, (Data)rhs, (Data)A, (Data)B, (Data)C, (Data)D, (Data)X, (Data)Y, (Data)d, (Data)y, (Data)d_contact, (Data)y_contact, (Data)d_dirac, (Data)y_dirac) -> None :
adds a PDE onto the stiffness matrix mat and a rhs
Parameters:

addPDEToTransportProblem(...)

 
addPDEToTransportProblem( (ContinuousDomain)arg1, (TransportProblem)tp, (Data)source, (Data)M, (Data)A, (Data)B, (Data)C, (Data)D, (Data)X, (Data)Y, (Data)d, (Data)y, (Data)d_contact, (Data)y_contact, (Data)d_dirac, (Data)y_dirac) -> None :
Parameters:

getDataShape(...)

 
getDataShape( (ContinuousDomain)arg1, (int)functionSpaceCode) -> object :
Returns: tuple
a pair (dps, ns) where dps=the number of data points per sample, and ns=the number of samples

getDescription(...)

 
getDescription( (ContinuousDomain)arg1) -> str :
Returns: string
a description for this domain

getNumDataPointsGlobal(...)

 
getNumDataPointsGlobal( (ContinuousDomain)arg1) -> int :
Returns: int
the number of data points summed across all MPI processes

getSystemMatrixTypeId(...)

 
getSystemMatrixTypeId( (ContinuousDomain)arg1, (int)solver, (int)preconditioner, (int)package, (bool)symmetry) -> int :
Returns: int
the identifier of the matrix type to be used for the global stiffness matrix when a particular solver package and symmetric matrix is used.

newOperator(...)

 
newOperator( (ContinuousDomain)arg1, (int)row_blocksize, (FunctionSpace)row_functionspace, (int)column_blocksize, (FunctionSpace)column_functionspace, (int)type) -> Operator :
creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros
Parameters:

newTransportProblem(...)

 
newTransportProblem( (ContinuousDomain)theta, (int)blocksize, (FunctionSpace)functionspace, (int)type) -> TransportProblem :
creates a TransportProblemAdapter
Parameters:
  • theta (float)
  • blocksize (int)
  • functionspace (FunctionSpace)
  • type (int)

print_mesh_info(...)

 
print_mesh_info( (ContinuousDomain)arg1 [, (bool)full=False]) -> None :
Parameters:
  • full (bool)

setX(...)

 
setX( (ContinuousDomain)arg1, (Data)arg) -> None :
assigns new location to the domain
Parameters: