Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
user_access_singleton Module Reference

User access singleton Defines a singleton object available in the user file. Intended to allow unrestricted access to the entire simulation case and enable all sorts of hacking, while keeping neko proper clear. The object is only initialized by makeneko, so trying to use it outside user code will result in a segfault—intentionally.

Data Types

type  user_access_t
 Helper type to give users global access to the simulation case. More...
 

Functions/Subroutines

subroutine user_access_init (this, case)
 Constructor.
 
subroutine user_access_free (this)
 Destructor.
 

Variables

type(user_access_t), target, public neko_user_access
 The singleton object.
 

Function/Subroutine Documentation

◆ user_access_free()

subroutine user_access_singleton::user_access_free ( class(user_access_t), intent(inout this)
private

Definition at line 68 of file user_access_singleton.f90.

◆ user_access_init()

subroutine user_access_singleton::user_access_init ( class(user_access_t), intent(inout this,
type(case_t), target  case 
)
private

Definition at line 60 of file user_access_singleton.f90.

Variable Documentation

◆ neko_user_access

type(user_access_t), target, public user_access_singleton::neko_user_access

Definition at line 55 of file user_access_singleton.f90.