Members
- addStringProperty
- callAPI
- cloneToCustomTypeField
- cloneToField
- cloneToPropertyField
- createFieldWithTransformation
- data
- data
- dataPointer
- dataSize
- deep_copy
- describe
- empty
- emptyField
- entityData
- entityData
- entityDataById
- entityDataById
- entityId
- Field
- Field
- Field
- Field
- Field
- fieldDefinition
- fillCursor
- getClient
- getData
- getHeaderAsDataTree
- getStringProperty
- hasBeenMovedLocally
- hasInternalObject
- identicalPointers
- isOnCommonAPI
- isSameObject
- name
- numberOfComponents
- numberOfElementaryData
- numberOfElementaryDataByEntityId
- numberOfElementaryDataByEntityIndex
- numberOfEntities
- operator=
- operator=
- push_back
- push_back
- push_back
- reserve
- resize
- resizeDataPointer
- scoping
- setData
- setData
- setDataPointer
- setDataPointer
- setFieldDefinition
- setHeaderAsDataTree
- setName
- setScoping
- setSupport
- setSupport
- setSupport
- support
- ~DpfTypes
- ~Field
Friends
Public functions
Function Field
- int reserved_number_of_entity = 0 : [in] Number of entities.
- const std::vector< int > & dimensions = { 1 } : [in] Dimension of each entity.
- const Location & loc = locations::nodal : [in] Location of entities.
Function Field
- Client const *const client: [in] Remote client.
- int reserved_number_of_entity = 0 : [in] Number of entities.
- const std::vector< int > & dimensions = { 1 } : [in] Dimension of each entity.
- const Location & loc = locations::nodal : [in] Location of entities.
Function Field
- int id: [in] Id of the Field object on the server’s database.
- Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Function ~Field
Function Field
- Field const &
Function Field
- Field &&
Function operator=
- Field const &
Function operator=
- Field &&
Function identicalPointers
- Field const & f: [in] Field with which to compare.
Function numberOfComponents
Function numberOfEntities
Function numberOfElementaryData
Function numberOfElementaryDataByEntityIndex
- dp_int entityIndex
Function numberOfElementaryDataByEntityId
- dp_int entityId
Function dataSize
Function name
Function setName
- const std::string & name: [in] New name.
Function addStringProperty
- const char * key
- const char * sProp
Function getStringProperty
- const char * key
- std::string & sProp
Function data
- int & size: [out] Size of returned data array.
Function data
Function dataPointer
Function getData
- std::vector< dp_double > & data_to_fill: [out] Vector of data for all entities.
Function entityData
- dp_index entity_index: [in] Index of entity for which to get data.
- dp_int & size: [out] Size of returned data array.
Function entityData
- dp_index entity_index: [in] Index of entity for which to get data.
- DpfVector< double > & data: [out] Pointer to the data.
Function entityDataById
- dp_id entity_id: [in] Id of entity for which to get data.
- dp_int & size: [out] Size of returned data array.
Function entityDataById
- dp_id entity_id: [in] Id of entity for which to get data.
- DpfVector< double > & data: [out] Pointer to the data.
Function entityId
- dp_index entity_index: [in] Index of entity for which to get Id.
Function scoping
Function fieldDefinition
Function support
Function setFieldDefinition
- FieldDefinition const & f
Function setScoping
- ansys::dpf::Scoping const & s
Function setData
- std::vector< double > const & data: [in] Vector of data.
Function setData
- double const *const data: [in] List of data.
- int size: [in] Size of list.
Function setDataPointer
- std::vector< int > & data: [in] Vector of data.
Function setDataPointer
- int const *const data: [in] List of data.
- int size: [in] Size of list.
Function setSupport
- ansys::dpf::Support const & s: [in] Field to support.
Function setSupport
- ansys::dpf::TimeFreqSupport const & s: [in] TimeFreqSupport to support.
Function setSupport
- ansys::dpf::MeshedRegion const & s: [in] MeshedRegion to support.
Function reserve
- dp_int number_of_entities: [in] Number of entities.
- dp_int overall_size = 0 : [in] Total size of entity data.
Function resize
- dp_int number_of_entities: [in] Number of entities.
- dp_int overall_size: [in] Total size of entity data.
Function resizeDataPointer
- dp_int number_of_entities
Function fillCursor
- dp_index index: [in] Index of entity for which to get data.
- FieldCursor & f: [out] FieldCursor with which to contain data.
Function push_back
- dp_id entity_id: [in] Index of entity for which to push data.
- std::vector< dp_double > const & values: [in] Vector of data for entity.
Function push_back
- dp_id entity_id: [in] Index of entity for which to push data.
- const dp_double * values: [in] Ptr on data for entity.
- int size: [in] Number of entities.
Function push_back
- dp_id entity_id: [in] Index of entity for which to push data.
- dp_double * values: [in] Ptr on data for entity.
- int size: [in] Number of entities.
Function deep_copy
- ansys::dpf::Client const *const client = nullptr : [in] Remote client
Function cloneToCustomTypeField
- ansys::dpf::Client const *const client = nullptr : [in] Remote client
- bool const copy_ids = true : [in] Boolean to decide if scoping ids are to be copied
- bool const copy_data_ptr = true : [in] Boolean to decide if data pointer is to be copied
- bool const copy_support = true : [in] Boolean to decide if the support reference is to be copied
Function cloneToField
- ansys::dpf::Client const *const client = nullptr : [in] Remote client
- bool const copy_ids = true : [in] Boolean to decide if scoping ids are to be copied
- bool const copy_data_ptr = true : [in] Boolean to decide if data pointer is to be copied
- bool const copy_support = true : [in] Boolean to decide if the support reference is to be copied
Function cloneToPropertyField
- ansys::dpf::Client const *const client = nullptr : [in] Remote client
- bool const copy_ids = true : [in] Boolean to decide if scoping ids are to be copied
- bool const copy_data_ptr = true : [in] Boolean to decide if data pointer is to be copied
- bool const copy_support = true : [in] Boolean to decide if the support reference is to be copied
Function getHeaderAsDataTree
Function setHeaderAsDataTree
- const DataTree & datatree
Public static functions
Function emptyField
Function createFieldWithTransformation
- Workflow transformation_wf: [in] Transformation workflow.
- int reserved_number_of_entity = 0 : [in] Number of entities.
- const std::vector< int > & dimensions = { 1 } : [in] Dimension of each entity.
- const Location & loc = locations::nodal
- std::string const & input_name_to_connect = “input_field” : [in] Name of the input of the workflow to connect. Should take a Field.
- std::string const & output_name_to_eval = “transformed_field” : [in] Name of the output of the workflow to evaluate. Should return a Field.