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
ode_solve.FEM_coefficient_matrix_generator Class Reference
Collaboration diagram for ode_solve.FEM_coefficient_matrix_generator:

Public Member Functions

def quadrature_points (self)
 
def __init__ (self, grid, coef)
 
def __call__ (self, d, k1, k2, t=0.0)
 create FEM matrix in so-called "matrix diagonal ordered form" More...
 
def mass_matrix (self, reaction_function)
 creates the mass matrix in matrix diagonal ordered form More...
 
def diffusion_matrix (self, diffusion_function)
 creates the diffusion matrix in matrix diagonal ordered form More...
 
def crossterm_diffusion_matrix (self, crossterm_diffusion_function)
 creates the cross-term contributions to the diffusion matrix in matrix diagonal ordered form NOTE that this contribution is ONLY active when t > 0 More...
 

Public Attributes

 coef
 
 grid
 
 qp
 
 M1
 
 M2
 
 D1
 
 D2
 
 D0
 
 L2_vec
 
 sqrtM
 

Constructor & Destructor Documentation

◆ __init__()

def ode_solve.FEM_coefficient_matrix_generator.__init__ (   self,
  grid,
  coef 
)

Member Function Documentation

◆ __call__()

def ode_solve.FEM_coefficient_matrix_generator.__call__ (   self,
  d,
  k1,
  k2,
  t = 0.0 
)

create FEM matrix in so-called "matrix diagonal ordered form"

◆ crossterm_diffusion_matrix()

def ode_solve.FEM_coefficient_matrix_generator.crossterm_diffusion_matrix (   self,
  crossterm_diffusion_function 
)

creates the cross-term contributions to the diffusion matrix in matrix diagonal ordered form NOTE that this contribution is ONLY active when t > 0

◆ diffusion_matrix()

def ode_solve.FEM_coefficient_matrix_generator.diffusion_matrix (   self,
  diffusion_function 
)

creates the diffusion matrix in matrix diagonal ordered form

◆ mass_matrix()

def ode_solve.FEM_coefficient_matrix_generator.mass_matrix (   self,
  reaction_function 
)

creates the mass matrix in matrix diagonal ordered form

◆ quadrature_points()

def ode_solve.FEM_coefficient_matrix_generator.quadrature_points (   self)

Member Data Documentation

◆ coef

ode_solve.FEM_coefficient_matrix_generator.coef

◆ D0

ode_solve.FEM_coefficient_matrix_generator.D0

◆ D1

ode_solve.FEM_coefficient_matrix_generator.D1

◆ D2

ode_solve.FEM_coefficient_matrix_generator.D2

◆ grid

ode_solve.FEM_coefficient_matrix_generator.grid

◆ L2_vec

ode_solve.FEM_coefficient_matrix_generator.L2_vec

◆ M1

ode_solve.FEM_coefficient_matrix_generator.M1

◆ M2

ode_solve.FEM_coefficient_matrix_generator.M2

◆ qp

ode_solve.FEM_coefficient_matrix_generator.qp

◆ sqrtM

ode_solve.FEM_coefficient_matrix_generator.sqrtM

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