0.6.0
Loading...
Searching...
No Matches
type_stress_tensor Module Reference

Declaration of a type associated to the stress tensor. More...

Data Types

interface  initialize
 
type  t_stress_tensor
 
interface  unalloc
 

Functions/Subroutines

pure subroutine, private initialize_stress_tensor (stress_tensor)
 Initialize stress tensor.
 
subroutine, private unalloc_stress_tensor (stress_tensor)
 Unalloc stress tensor.
 

Detailed Description

Declaration of a type associated to the stress tensor.

Todo
finish doc

Contains initialization and unallocation routines necessary to compute the stress tensor

Grid localisaton of the different terms of the tensor depends on the type of node on which derivative is computed at second order (cell, face, edge)

Usage

Initialize to 0 the stress tensor:

call initialize(stress_tensor, nx, ny, nz)

Release the memory:

call unalloc(stres tensor)

Function/Subroutine Documentation

◆ initialize_stress_tensor()

pure subroutine, private type_stress_tensor::initialize_stress_tensor ( type(t_stress_tensor), intent(inout) stress_tensor)
private

Initialize stress tensor.

◆ unalloc_stress_tensor()

subroutine, private type_stress_tensor::unalloc_stress_tensor ( type(t_stress_tensor), intent(inout) stress_tensor)
private

Unalloc stress tensor.