atl_get_new_varSys_data_ptr Function

public function atl_get_new_varSys_data_ptr(solverData) result(resPtr)

Routine to get a pointer to a new instance of atl_varSys_data_type to be used as method data for a variable in the variable system.

A new instance is allocated and a c_ptr to this type is returned. We currently don't need a reference to this instance besides the one that will be stored in the variable syste, thus we don't keep one here.

! the point_data_type need to be levelwise init( res%pointData%pointX ) init( res%pointData%pointY ) init( res%pointData%pointZ ) init( res%pointData%elemPos )

Arguments

Type IntentOptional Attributes Name
type(atl_varSys_solverData_type), intent(in), target :: solverData

The prototype is used to initialize the new instance.

Return Value type(c_ptr)

Pointer to the newly created instance.