KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
solver_wrappers.kratos.kratos_base_wrapper.ThreadManager Class Reference

Class for setting and ressting the number of threads a context should use. More...

Collaboration diagram for solver_wrappers.kratos.kratos_base_wrapper.ThreadManager:

Public Member Functions

def __init__ (self, num_threads=None)
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 

Public Attributes

 num_threads
 
 num_threads_orig
 

Detailed Description

Class for setting and ressting the number of threads a context should use.

Constructor & Destructor Documentation

◆ __init__()

def solver_wrappers.kratos.kratos_base_wrapper.ThreadManager.__init__ (   self,
  num_threads = None 
)

Member Function Documentation

◆ __enter__()

def solver_wrappers.kratos.kratos_base_wrapper.ThreadManager.__enter__ (   self)

◆ __exit__()

def solver_wrappers.kratos.kratos_base_wrapper.ThreadManager.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Member Data Documentation

◆ num_threads

solver_wrappers.kratos.kratos_base_wrapper.ThreadManager.num_threads

◆ num_threads_orig

solver_wrappers.kratos.kratos_base_wrapper.ThreadManager.num_threads_orig

The documentation for this class was generated from the following file: