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
cube_mesher.box_data Class Reference
Inheritance diagram for cube_mesher.box_data:
Collaboration diagram for cube_mesher.box_data:

Public Member Functions

def __init__ (self, xmin, ymin, zmin, xmax, ymax, zmax, nx, ny, nz)
 
def nx (self)
 
def ny (self)
 
def nz (self)
 
def xmin (self)
 
def xmax (self)
 
def ymin (self)
 
def ymax (self)
 
def zmin (self)
 
def zmax (self)
 
def get_coord (self, direction, n)
 Use direction {0,1,2} for {x,y,z}, 0 <= n <= ndiv[direction]. More...
 
def get_id (self, ix, iy, iz)
 Id for the nth node in each direction (starting from 1). More...
 
def cube_vertices (self, ix, iy, iz)
 Identify 8 contiguous nodes forming a cube. More...
 

Public Attributes

 box
 
 ndiv
 
 jump
 
 cond_range
 
 x_periodic
 
 y_periodic
 
 z_periodic
 

Constructor & Destructor Documentation

◆ __init__()

def cube_mesher.box_data.__init__ (   self,
  xmin,
  ymin,
  zmin,
  xmax,
  ymax,
  zmax,
  nx,
  ny,
  nz 
)

Member Function Documentation

◆ cube_vertices()

def cube_mesher.box_data.cube_vertices (   self,
  ix,
  iy,
  iz 
)

Identify 8 contiguous nodes forming a cube.

Note: Even and odd levels are rotated 90 degrees along Z to ensure that they are conformant.

◆ get_coord()

def cube_mesher.box_data.get_coord (   self,
  direction,
  n 
)

Use direction {0,1,2} for {x,y,z}, 0 <= n <= ndiv[direction].

◆ get_id()

def cube_mesher.box_data.get_id (   self,
  ix,
  iy,
  iz 
)

Id for the nth node in each direction (starting from 1).

◆ nx()

def cube_mesher.box_data.nx (   self)

◆ ny()

def cube_mesher.box_data.ny (   self)

◆ nz()

def cube_mesher.box_data.nz (   self)

◆ xmax()

def cube_mesher.box_data.xmax (   self)

◆ xmin()

def cube_mesher.box_data.xmin (   self)

◆ ymax()

def cube_mesher.box_data.ymax (   self)

◆ ymin()

def cube_mesher.box_data.ymin (   self)

◆ zmax()

def cube_mesher.box_data.zmax (   self)

◆ zmin()

def cube_mesher.box_data.zmin (   self)

Member Data Documentation

◆ box

cube_mesher.box_data.box

◆ cond_range

cube_mesher.box_data.cond_range

◆ jump

cube_mesher.box_data.jump

◆ ndiv

cube_mesher.box_data.ndiv

◆ x_periodic

cube_mesher.box_data.x_periodic

◆ y_periodic

cube_mesher.box_data.y_periodic

◆ z_periodic

cube_mesher.box_data.z_periodic

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