Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
state_recover Module Reference

Abstract interface for state recovery strategies. More...

Data Types

interface  state_recover_init
 Initialize state recovery from JSON parameters. More...
 
type  state_recover_t
 Abstract base type for state recovery implementations. More...
 

Detailed Description

Factory API
state_recover_factory(recover, neko_case, params) allocates a recovery implementation selected by the type entry in params, initializes it, and associates it with neko_case. The allocatable recover argument is replaced if it is already allocated.

state_recover_allocator(recover, recover_type) only allocates the implementation selected by recover_type; the caller remains responsible for initializing it. The allocatable recover argument is replaced if it is already allocated.